platform-bible-react
    Preparing search index...

    Interface MarkerMenuItem

    Type for the markers that contain all necessary information to be displayed in the list

    interface MarkerMenuItem {
        action: () => void;
        icon?: ReactNode;
        isDeprecated?: boolean;
        isDisallowed?: boolean;
        marker?: string;
        subtitle?: string;
        title: string;
    }
    Index

    Properties

    action: () => void

    Function to be triggered when the marker or command is selected

    icon?: ReactNode

    Optional name of icon to use instead of the marker

    isDeprecated?: boolean

    Whether the command/marker is deprecated

    isDisallowed?: boolean

    Whether the command/marker is disallowed for this project

    marker?: string

    If the item is a marker, then this is the marker code

    subtitle?: string

    An optional subtitle for the marker

    title: string

    The main title for the marker or command