| Props | Type | Description | Default |
|---|---|---|---|
| LeftIcon | IconComponent | An optional left icon displayed before the text in the menu item | |
| accent | string | Specifies the accent color of the menu item. Options include: `default`, `danger`, and `placeholder` | default |
| text | string | The text content of the menu item | |
| iconButtons | array | An array of objects representing additional icon buttons associated with the menu item | |
| isTooltipOpen | boolean | Controls the visibility of the tooltip associated with the menu item | |
| testId | string | The data-testid attribute for testing purposes | |
| onClick | function | Callback function triggered when the menu item is clicked | |
| className | string | Optional name for additional styling |
| Props | Type | Description |
|---|---|---|
| LeftIcon | IconComponent | An optional left icon displayed before the text in the menu item |
| text | string | The text content of the menu item |
| firstHotKey | string | The first keyboard shortcut associated with the command |
| secondHotKey | string | The second keyboard shortcut associated with the command |
| isSelected | boolean | Indicates whether the menu item is selected or highlighted |
| onClick | function | Callback function triggered when the menu item is clicked |
| className | string | Optional name for additional styling |
| Props | Type | Description | Default |
|---|---|---|---|
| LeftIcon | IconComponent | An optional left icon displayed before the text in the menu item | |
| accent | string | The accent color of the menu item. It can either be `default`, `placeholder`, and `danger` | default |
| iconButtons | array | An array of objects representing additional icon buttons associated with the menu item | |
| isTooltipOpen | boolean | Controls the visibility of the tooltip associated with the menu item | |
| onClick | function | Callback function to be triggered when the link is clicked | |
| text | string | The text content of the menu item | |
| isDragDisabled | boolean | Indicates whether dragging is disabled | `false` |
| className | string | Optional name for additional styling |
| Props | Type | Description |
|---|---|---|
| LeftIcon | IconComponent | An optional left icon displayed before the text in the menu item |
| text | string | The text content of the menu item |
| selected | boolean | Indicates whether the menu item is selected (checked) |
| onSelectChange | function | Callback function triggered when the checkbox state changes |
| className | string | Optional name for additional styling |
| Props | Type | Description |
|---|---|---|
| avatar | `ReactNode` | The avatar or icon to be displayed on the left side of the menu item |
| text | string | The text content of the menu item |
| selected | boolean | Indicates whether the menu item is selected (checked) |
| onSelectChange | function | Callback function triggered when the checkbox state changes |
| className | string | Optional name for additional styling |
| Props | Type | Description |
|---|---|---|
| LeftIcon | IconComponent | An optional left icon displayed before the text in the menu item |
| text | string | The text content of the menu item |
| onClick | function | Callback function to be triggered when the menu item is clicked |
| className | string | Optional name for additional styling |
| Props | Type | Description |
|---|---|---|
| LeftIcon | IconComponent | An optional left icon displayed before the text in the menu item |
| text | string | The text content of the menu item |
| selected | boolean | Indicates whether the menu item is selected (checked) |
| disabled | boolean | Indicates whether the menu item is disabled |
| hovered | boolean | Indicates whether the menu item is currently being hovered over |
| onClick | function | Callback function to be triggered when the menu item is clicked |
| className | string | Optional name for additional styling |
| Props | Type | Description |
|---|---|---|
| avatar | `ReactNode` | The avatar or icon to be displayed on the left side of the menu item |
| text | string | The text content of the menu item |
| selected | boolean | Indicates whether the menu item is selected (checked) |
| disabled | boolean | Indicates whether the menu item is disabled |
| hovered | boolean | Indicates whether the menu item is currently being hovered over |
| testId | string | The data-testid attribute for testing purposes |
| onClick | function | Callback function to be triggered when the menu item is clicked |
| className | string | Optional name for additional styling |
| Props | Type | Description | Default |
|---|---|---|---|
| color | string | The theme color to be displayed as a sample in the menu item. Options include: `green`, `turquoise`, `sky`, `blue`, `purple`, `pink`, `red`, `orange`, `yellow`, and `gray` | |
| selected | boolean | Indicates whether the menu item is selected (checked) | |
| disabled | boolean | Indicates whether the menu item is disabled | |
| hovered | boolean | Indicates whether the menu item is currently being hovered over | |
| variant | string | The variant of the color sample. It can either be `default` or `pipeline` | default |
| onClick | function | Callback function to be triggered when the menu item is clicked | |
| className | string | Optional name for additional styling |
| Props | Type | Description |
|---|---|---|
| LeftIcon | IconComponent | An optional left icon displayed before the text in the menu item |
| text | string | The text content of the menu item |
| toggled | boolean | Indicates whether the toggle switch is in the "on" or "off" state |
| onToggleChange | function | Callback function triggered when the toggle switch state changes |
| toggleSize | string | The size of the toggle switch. It can be either 'small' or 'medium' |
| className | string | Optional name for additional styling |