RecommendationsSearchOptions
Extends
Pick<SearchOptions,"hideAutocomplete"|"onSearch"|"datasource"|"datasourcesFilter">
Extended by
Properties
datasource?
optional datasource?: string;
Select the search tab for the given datasource (e.g. 'confluence', 'gdrive',
'people') instead of the all tab. Other datasource tabs will be shown if
results are available for the current query. See also SearchOptions.datasourcesFilter.
Inherited from
datasourcesFilter?
optional datasourcesFilter?: string[];
Filter search results to only the given list of datasources (e.g. ['figma'], ['jira', 'zendesk']). Results from other datasources will not be available. See also
SearchOptions.datasource.
Inherited from
SearchOptions.datasourcesFilter
hideAutocomplete?
optional hideAutocomplete?: boolean;
If true, search boxes will not render the autocomplete dropdown.
Inherited from
SearchOptions.hideAutocomplete
onSearch
onSearch: (query) => void;
A callback invoked when the user performs a search query.
Parameters
| Parameter | Type |
|---|---|
query | string |
Returns
void