Closed czerasz closed 8 years ago
Maybe so?
<select … {...this.props}>
In this way you can pass any properties such as class, id, data-* attributes
:+1:
@rkit Spread Attributes is a really good idea!
Thanks! Today will release.
@rkit cool many thanks! :-)
Forward the
className
to the<select>
tag