platform-bible-react
    Preparing search index...

    Type Alias DropdownItem

    type DropdownItem = {
        id: string;
        label: string;
        onUpdate: (id: string, checked?: boolean) => void;
    }
    Index

    Properties

    Properties

    id: string

    Unique identifier for this dropdown

    label: string

    The label is the text that will be displayed on the dropdown item.

    onUpdate: (id: string, checked?: boolean) => void

    The onUpdate function is called when the state of a dropdown item is changed.