Skip to content

ButtonCard

Card with button and text
import { ButtonCard } from 'degen'
name
type
default
description
as
"button" | "a"
-
-
buttonText*
Required
string
-
Text displayed on button
loading
boolean
-
Shows loading spinner inside button
prefix
ReactNodeNoStrings
-
Adds ReactNode before children
suffix
ReactNodeNoStrings
-
Adds ReactNode after children
width
ConditionalStyle<Values<{ '112': string; '128': string; '144': string; '168': string; '180': string; '192': string; '224': string; '256': string; '288': string; '320': string; '1/4': string; '1/3': string; '1/2': string; '2/3': string; '3/4': string; screenSm: 640; ... 49 more ...; none: CSSVarFunction; }, { ...; }>>
-
-