Search
A search button that opens a dialog of results. / or ⌘K (Ctrl K) opens it from anywhere on the page, and the arrow keys move through the results.
Search(props: SearchProps): ElementProps
- searchrequired
(query: string) => Promise<SearchResult[]> Finds the results for a query. Called as the reader types; earlier calls are ignored once a later one starts.
- classoptional
string
design-system is a Ben Hodgson projectGitHub