Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 980 Bytes

API.md

File metadata and controls

51 lines (36 loc) · 980 Bytes

SelectorBar

Usage

To use SelectorBar, you can import the component from the @dhis2/ui library

import { SelectorBar } from '@dhis2/ui'

Props

Name Type Default Required Description
children any *
additionalContent any
ariaLabel string
className string
dataTest string 'dhis2-ui-selectorbar'
disableClearSelections boolean
onClearSelectionClick function

SelectorBarItem

Usage

To use SelectorBarItem, you can import the component from the @dhis2/ui library

import { SelectorBarItem } from '@dhis2/ui'

Props

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