Button
A versatile button component that supports multiple states and actions.
Button
The Button component is a versatile control that supports multiple states and actions.
Usage
Props
| Prop | Type | Default | Description | 
|---|---|---|---|
| label | string | - | Text to display on the button | 
| action | () => void | - | Function to execute when button is clicked | 
| status | 'idle' | 'loading' | 'disabled' | 'idle' | Current state of the button | 
| className | string | - | Additional CSS classes | 
Is this guide helpful?