Version: Next
Modes
Modes display selected items.
DEFAULT
SIMPLE
BADGE
Type | Default |
---|---|
string | SIMPLE |
note
Single item pickers won't be affected by the mode
property.
#
Change the default modeYou can change the default mode of the package globally.
#
Badge Mode PropsshowBadgeDot
#
Shows dots in the badges.
Type | Default |
---|---|
bool | true |
renderBadgeItem
#
Renders the selected items.
note
You need to move it to an independent component otherwise the items will be re-rendered.
- See: RenderBadgeItem.js
Type |
---|
function |
#
StylingbadgeStyle
#
badgeTextStyle
#
badgeDotStyle
#
badgeSeparatorStyle
#
badgeColors
#
Gives background colors to badges based on the value
.
Type |
---|
object, string |
badgeDotColors
#
Gives background colors to badge dots based on the value
.
Type |
---|
object, string |