<Search>
Component
Option | Type | Description |
---|---|---|
emptyResult | string | ReactElement | Not found text. Default: 'No results found.' . |
loading | string | ReactElement | Loading text. Default: 'Loading…' . |
errorText | string | ReactElement | Error text. Default: 'Failed to load search index.' . |
placeholder | string | Placeholder text. Default: 'Search documentation…' . |
className | string | CSS class name. |
searchOptions | PagefindSearchOptions | {preload?: boolean; verbose?: boolean; filters?: object; sort?: object} . |
Last updated on