SingleChoiceMenuOption<T>
One choice of a single-choice menu group.
Import:
import type { SingleChoiceMenuOption } from '@mnaoumov/obsidian-lib/menu';Signature:
export interface SingleChoiceMenuOption<T>Properties
| Property | Type | Description |
|---|---|---|
| icon? | string | The item's icon. |
| title | string | The item's title. |
| value | T | The value the item stands for. |
Links to this page: