Block Parts
Command Item Row
One row in a command menu: an icon, a label, optional context and its shortcut keys.
Usage
Installation
npm install @wunderui/reactThen import what you need:
import { CommandItemRow, CommandItemRowProps } from "@wunderui/react"API Reference
| Prop | Type | Default |
|---|---|---|
| icon | ReactNode | — |
| label | ReactNode | — |
| meta | ReactNode | — |
| keys | string[] | — |
| active | boolean | — |
| onSelect | () => void | — |
| className | string | — |