Skip to main content

TopBarPicker

<TopBarPicker
title={title}
placeholder={placeholder}
topBarProps={{title: 'Pick a color'}}
hoistSelectedItem={false}
onChange={onChange}
value={selectedColor}
>
{_.map(RegisteredTopBarPicker.items, item => (
<Picker.Item key={item.value} value={item.value} label={item.label}/>
))}
</TopBarPicker>
TIP
This component extends the form/Picker props.
APIThis is the list of additional props for the component

title
string
​

The top bar picker title