platform-bible-react
    Preparing search index...

    Interface MarkerMenuProps

    Props for the marker menu component

    interface MarkerMenuProps {
        localizedStrings: MarkerMenuLocalizedStrings;
        markerMenuItems: MarkerMenuItem[];
        searchPlaceholder?: string;
        searchRef?: LegacyRef<HTMLInputElement>;
    }
    Index

    Properties

    localizedStrings: MarkerMenuLocalizedStrings

    Localized strings to pass through for the marker menu

    markerMenuItems: MarkerMenuItem[]

    A list of the marker menu items which can either be a marker to insert or some basic command actions

    searchPlaceholder?: string

    Optional placeholder text for the search input. When provided, overrides the default %markerMenu_searchPlaceholder% localized string.

    searchRef?: LegacyRef<HTMLInputElement>

    Optional ref for the command search input to be able to focus it manually