To use SelectorBar
, you can import the component from the @dhis2/ui
library
import { SelectorBar } from '@dhis2/ui'
Name | Type | Default | Required | Description |
---|---|---|---|---|
children | any | * | ||
additionalContent | any | |||
ariaLabel | string | |||
className | string | |||
dataTest | string | 'dhis2-ui-selectorbar' |
||
disableClearSelections | boolean | |||
onClearSelectionClick | function |
To use SelectorBarItem
, you can import the component from the @dhis2/ui
library
import { SelectorBarItem } from '@dhis2/ui'
Name | Type | Default | Required | Description |
---|---|---|---|---|
label | string | * | ||
children | any | |||
className | string | |||
dataTest | string | 'dhis2-ui-selectorbaritem' |
||
disabled | boolean | |||
displayOnly | boolean | |||
noValueMessage | string | |||
open | boolean | |||
setOpen | function | |||
value | string | |||
onClearSelectionClick | function |