Skip to main content

BackButtonProps

Props for BackButton

Properties​

className?​

optional className: string

Additional CSS classes to apply to the button


href?​

optional href: string

The URL to navigate to when the button is clicked


id?​

optional id: string

The id of the button


onClick?​

optional onClick: VoidFuncNoParam

Event handler called when the button is clicked


size?​

optional size: null | "default" | "icon" | "sm" | "lg"

The size of the button


variant?​

optional variant: null | "default" | "link" | "destructive" | "outline" | "secondary" | "ghost" | "icon" | "float" | "fullRounded"

The variant of the button