4.2.0
What's New
- New component -
Wizard
-> control your flows with a wizard steps - Added a unified, cross-platform
DateTimePicker
component. based on the native dateTimePicker library (@react-native-community/datetimepicker
) TextField
now supports validations. passvalidate
,errorMessage
and other relevant props (see docs) to add form validations to your components
<TextField placeholder="Please enter text" validate="required" errorMessage="This field is mandatory" />
<TextField placeholder="email" validate="email" errorMessage="The email your entered is invalida" />
<TextField placeholder="...." validate={(value) => /*custom validation function*/} errorMessage="custom error messsage" />
Fixes
- Update typings for all components
- Fix issue with typography modifiers not working on components like TextField and Picker
Slider
- fix lifecycle method warning- Fix spacings and alignments for TextField
FloatingButton
support hiding background overlay- Fix
Carousel
issue with incorrect initial page - Fix
Carousel
issue with orientation change not focusing correctly on the current page - Minor fix with how custom
renderPicker
(of a native picker) being rendered