Closed jkimbo closed 9 years ago
How do I use my own renderer here? Is it a child of Choice.Option
?
No you just replace the option with your own react component. Also long as it has the same api (i.e. a value prop and child text) it should work.
I think Option
should make use of an OptionMixin
that defines most of the core API for an option.
Changed the structure so that it is more semantic. Now you build a select component like this: