This repository was archived by the owner on Mar 23, 2025. It is now read-only.
⚠️ BREAKING CHANGES ⚠️
- Overhaul all form components to follow a state-led
onChange
handling, instead of mucking around with direct DOM
events, meaning instead ofonChange={e => doSomething(e.target.value)}
you can now just doonChange={value => setValue(value)}
and do whatever you want using theuseState
hook.
GENERIC CHANGES
- Add
CheckboxGroup
andSwitchGroup
components, that work in the same way asRadioGroup
- Add
FileUpload
component with drag-and-drop support - Revamp
FileUpload
with drag-and-drop support and multiple file upload support Textarea
now has acharLimit
andwordLimit
props, along with warning and error messages