Button
This is a Button component
API Reference
variants
Type
{ primary: { backgroundColor: string; color: string; }; secondary: { backgroundColor: string; color: string; }; }ButtonProps
Properties
| Property | Type | |
|---|---|---|
| children? | ReactNode | |
| backgroundColor? | string | |
| color? | string | |
| variant | "primary" | "secondary" | |
| style? | CSSProperties | |
Button
Allow users to take specific actions.
Properties
props: Props & {
css?: CSSObject;
className?: string;
}