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<{ '448px': string; '512px': string; '576px': string; '672px': string; '720px': string; '768px': string; '896px': string; '976px': string; '1024px': string; '1152px': string; '1280px': string; '1/4': string; '1/3': string; '1/2': string; ... 52 more ...; none: CSSVarFunction; }, { ...; }>>
-
-