SearchResultGroupSelectFilterField()
Home > @backstage/plugin-search-react
> SearchResultGroupSelectFilterField
A select field that can be used as filter on search result groups.
Signature:
SearchResultGroupSelectFilterField: (props: SearchResultGroupSelectFilterFieldProps) => React.JSX.Element
Parameters
Parameter |
Type |
Description |
---|---|---|
props |
React.JSX.Element
Example
<SearchResultGroupSelectFilterField
id="lifecycle"
label="Lifecycle"
value={filters.lifecycle}
onChange={handleChangeFilter}
onDelete={handleDeleteFilter}
>
<MenuItem value="experimental">Experimental</MenuItem>
<MenuItem value="production">Production</MenuItem>
</SearchResultGroupSelectFilterField>