CriteriaBar
The sentence above the results, with one chip per condition and Adjust.
ICU nurses in Texas
Example
<CriteriaBar
segments={[
{ text: 'ICU nurses ' },
{ key: 'place', label: 'in Texas', filtered: true, title: 'Texas' },
]}
onAdjust={openAdjust}
/>
Props
| Prop | Type | |
|---|---|---|
segments | CriteriaPiece[] | Plain text, or { key, label?, filtered, title }. |
more | { count, title } | The +n more link. |
onAdjust | (key?) => void | A chip opens that condition. Adjust opens the dialog. |
onChanges | () => void | Who changed the search, and why. |
className | string | Added on the root element. |
style | CSSProperties | Added on the root element. |
Render it inside SourcingTheme so the Nova tokens apply.