v0.5.0
- Added the ability to add or remove some CSS class names. (thanks @erzzo, @wkerswell)
- Playground should now work with IE8 (thanks @wkerswell)
Thanks to everyone that has taken the time to file issues and provide feedback.
Modifying CSS class names
We can now add or remove CSS class names on the markup for the enclosing row, label, and element wrapper.
Class names are added or removed using the "deduped" version of JedWatson/classnames.
<Input
name="cssTweaks"
type="text"
rowClassName="yellow"
labelClassName={[{'col-sm-3': false}, 'col-sm-5']}
elementWrapperClassName={[{'col-sm-9': false}, 'col-sm-7']}
/>
See the Layout tweaks in the playground for an example (code).