Information
We're proud to announce that v1.0.0-beta4
is the version of the 10,000 🌟of React Native Elements, and it's not an April fool 🐟! Have a look at the Twitter thread about the RNE journey by @Monte9
Thank you for being so many to use this repo, and helping us to make it better everyday. The best is yet to come, stay tuned 🚀
BREAKING CHANGES
-
ListItem
⚠️COMPLETELY REFACTORED ⚠️The
ListItem
was redesigned from scratch for this beta ! Hopefully you should be able to do what you use to do, + some new features. Have a look at the documentation to discover the new functionalities ! 92e5e83 @martinezguillaume -
List
❌REMOVED ❌The
List
component was basically just a wrapper with some styling. We decided to get rid of it as it can be pretty easily replaced by a simpleView
. @xavier-villelegier -
Input
displayError
props was removed.errorMessage
is shown if there is an error. 4c99586 @xavier-villelegier -
Button
The styles were a refactored a bit. The dimensions now need to be applied on thecontainerStyle
, as it is for every RNE components. 8843696 @martinezguillaume
New features / Components
CheckBox
Can now pass custom react component as checkedIcon, uncheckedIcon 4373797 @iRoachieInput
You can now specify alabel
that will be on top of theInput
. Can be customised throughlabelStyle
props 4c99586 @xavier-villelegierSearchBar
Platform specific SearchBars now applies thecontainerStyle
on the outer component, and the added propsinputContainerStyle
is thecontainerStyle
of theInput
@XeeshanAnsariRating
Enhanced styling, addsratingTextColor
andshowReadOnlyText
add3291 @timotewSearchBar(default)
Can now set size of Icon or clearIcon 84ffc9c @Gregjarvez
Bug / Warning fixes
Button
The icon is now centered ifnull
title is provided, by removing emptyText
component fa14656 @mhsekhavatButtonGroup
Fix default blue background that appears when you add a radius to the buttons 063b93f @dincozdemirInput
Avoid changing ref function on each render, that would cause some issues with a nullref
when theInput
is re-rendering. b46c9f7 @coruptaButton
Fix proptype and typings for theicon
cbc577c @iRoachie
Docs
- (website) Grammar and typo fixes 07cf51c @ngohoangthang
- (website) Fix link to rne-app under custom fonts 3f9faed @anandprabhu
- (website) New layout for the props 92f8584 @Gregjarvez
Misc
- (typescript)
Button
Changetext
totitle
57c5557 827c03f @viggyfresh @chitswe - (typescript) Removed links and replace JSX.Element React.ReactElement bf85813 @Gregjarvez
- (typescript)
Rating
MakeonFinishEditing
optional e428268 @iRoachie - (typescript)
Overlay
Add definitions ae3d62f @iRoachie - (CI) We now have a
react-native-elements-ci
bot that will deploy an example app for each submitted PR. This will be easier for the author and the maintainers to test and check for breaking changes. @xavier-villelegier - (Example app) Assets and fonts are now preloaded. You won't have any black background or unloaded icons anymore. @xavier-villelegier
Total contributors: 13