Skip to main content

Type Alias: SpotlightCardProps

SpotlightCardProps = object

Defined in: SpotlightCard/SpotlightCard.tsx:28

Properties

badge?

optional badge?: string | React.ReactNode

Defined in: SpotlightCard/SpotlightCard.tsx:37

Badge text. Renders as a badge/tag next to the title.


description

description: string

Defined in: SpotlightCard/SpotlightCard.tsx:38


firstButton?

optional firstButton?: ButtonPropType

Defined in: SpotlightCard/SpotlightCard.tsx:39


icon

icon: IconType

Defined in: SpotlightCard/SpotlightCard.tsx:29


secondButton?

optional secondButton?: ButtonPropType

Defined in: SpotlightCard/SpotlightCard.tsx:40


title

title: string | React.ReactNode

Defined in: SpotlightCard/SpotlightCard.tsx:33

Title of the card. Pass a ReactNode for styling.


variant?

optional variant?: "accent" | "primary"

Defined in: SpotlightCard/SpotlightCard.tsx:41