Enode — API Reference
    Preparing search index...

    Type Alias NoResultsSuggestion

    A near-match the empty view offers as a one-tap correction.

    type NoResultsSuggestion = {
        key: string;
        label: string;
        onSelect: () => void;
    }
    Index

    Properties

    Properties

    key: string

    Stable React key (usually the item id).

    label: string

    The already-localized label shown on the chip.

    onSelect: () => void

    Re-run the search on this suggestion (typically setQuery(label)).