Bloxwap / HIG0.1.1
Component referenceNavigation

Search

Loading interactive examples…

API reference

export declare function Search({ query, onQueryChange, results, loading, error }: {
    query: string;
    onQueryChange: (s: string) => void;
    results: readonly {
        id: string;
        label: string;
        onSelect: () => void;
    }[];
    loading?: boolean;
    error?: string;
}): React.JSX.Element;

React Native API

export declare function Search({ query, onQueryChange, results, loading, error }: {
    query: string;
    onQueryChange: (s: string) => void;
    results: readonly {
        id: string;
        label: string;
        onSelect: () => void;
    }[];
    loading?: boolean;
    error?: string;
}): React.JSX.Element;

Usage & accessibility

Visible label, semantic role/state, keyboard or platform touch behavior; device observations pending.

Feedback: accepted intent only; outcomes supplied by host; live updates silent.

Read the usage guide

On this page