Button
This is a Button component
API Reference
variants
Type
{ primary: { backgroundColor: string; color: string; }; secondary: { backgroundColor: string; color: string; }; }ButtonProps
Properties
| Property | Type | Modifiers |
|---|---|---|
| children? | ReactNode | — |
| backgroundColor? | string | — |
| color? | string | — |
| variant | "primary" | "secondary" | — |
| style? | CSSProperties | — |
Button
Allow users to take specific actions.
Properties
Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, keyof ButtonProps> & ButtonProps & { css?: CSSObject; className?: string; }Returns
React.JSX.Element