1. Import:
import { CommandOption } from "superkey";
2. Use:
<CommandOption value="Hello">
<h1>Hello</h1>
</CommandOption>
3. Props:
- | Prop | Description | Required |
---|---|---|---|
⚙️ | value | The value of the option. | Required |
⚙️ | children | Option content. | Required |
🎨 | className | Edit the styles of the option. | Optional |
🎨 | activeClassName | Edit the active styles of the option. | Optional |