@dxos/react-ui-menu
    Preparing search index...

    Type Alias ViewOption<T>

    One choice of a SortMenu or GroupMenu, labelled by the host so each list keeps its own wording.

    type ViewOption<T extends string> = {
        icon: string;
        id: T;
        label: string;
    }

    Type Parameters

    • T extends string
    Index

    Properties

    Properties

    icon: string
    id: T
    label: string