Skip to content

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

PropertyTypeDescription
icon?stringThe item's icon.
titlestringThe item's title.
valueTThe value the item stands for.

Links to this page: