Installation
Usage
showLineNumbers
showLineNumbers
Props
| Prop | Type | Default | Description |
|---|---|---|---|
children | React.ReactNode | - | The content of the button. |
className | string | - | Additional class names for the button. |
variant | "default" | "outline" | "default" | The visual variant of the button. |
size | "default" | "sm" | "lg" | "icon" | "default" | The size of the button. |
asChild | boolean | false | Use Slot to compose with other components. |
| …rest | React.ButtonHTMLAttributes<HTMLButtonElement> | - | All standard button HTML attributes are supported. |
Examples
Outline Variant
showLineNumbers
Different Sizes
showLineNumbers