Dropdown | Add iconPrefix and iconSuffix to OptionsProps (OptionItems), and export UsefulDropdownState #440
Labels
0.5 Story Points
issue size: .5
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Currently the only way to get icons in the dropdown is to override the checkmark container and do some really hacky tricks.
It would also make doing styling easier if
UsefulDropdownState
was added to every style-able subcomponent (and options were passedid
andoptionValue
)AC:
iconPrefix
/iconSuffix
toOptionsProps
StyledBaseSpan
in theOptionItem
to be aText
componenticonPrefix
andiconSuffix
to the Text componentOptionItemText
as a restyle-able/prop-able/ref-able subcomponent that is exported on the DropdownOptionItem
andOptionItemText
theid
andoptionValue
of their optionUsefulDropdownState
in index.tsxThe text was updated successfully, but these errors were encountered: