mithril-materialized
    Preparing search index...

    Interface DropdownItem<T>

    interface DropdownItem<T extends string | number> {
        disabled?: boolean;
        divider?: boolean;
        iconName?: string;
        id?: T;
        label: string;
    }

    Type Parameters

    • T extends string | number
    Index

    Properties

    disabled?: boolean

    Can we select the item

    divider?: boolean

    Add a divider

    iconName?: string

    Display a Materials Icon in front of the label

    id?: T

    ID property of the selected item

    label: string

    Label to show in the dropdown