Skip to content

v0.3.3

Compare
Choose a tag to compare
@tareq1988 tareq1988 released this 08 Jan 07:45
· 26 commits to main since this release

Textarea Improvements

  • Now extends theReact.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 new inputWrapperClassName is now wrapping the input field.

Changelog: v0.3.2...v0.3.3