v0.3.3
Textarea
Improvements
- Now extends the
React.TextareaHTMLAttributes<HTMLTextAreaElement>
interface. So it should support type-hinting of default attributes - The
label
prop is now optional. - Added
wrapperClassName
prop to add classes to the main wrapper. - Fixed the default value warning as we were passing an empty default value.
TextField
Improvements
- Now it extends the
React.InputHTMLAttributes<HTMLInputElement>
interface, so has the type-hinting support. Also now it has support for spread operator, so other standard attributes can be passed. - The
label
prop is now optional. - The
wrapperClassName
has moved to the main wrapper instead of the input wrapper. The newinputWrapperClassName
is now wrapping the input field.
Changelog: v0.3.2...v0.3.3