github react-native-elements/react-native-elements v1.0.0-beta4

latest releases: v4.0.0-rc.8, v3.4.3, v4.0.0-rc.7...
pre-release6 years ago

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 simple View. @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 the containerStyle, as it is for every RNE components. 8843696 @martinezguillaume

New features / Components

  • CheckBox Can now pass custom react component as checkedIcon, uncheckedIcon 4373797 @iRoachie
  • Input You can now specify a label that will be on top of the Input. Can be customised through labelStyle props 4c99586 @xavier-villelegier
  • SearchBar Platform specific SearchBars now applies the containerStyle on the outer component, and the added props inputContainerStyle is the containerStyle of the Input @XeeshanAnsari
  • Rating Enhanced styling, adds ratingTextColor and showReadOnlyText add3291 @timotew
  • SearchBar(default) Can now set size of Icon or clearIcon 84ffc9c @Gregjarvez

Bug / Warning fixes

  • Button The icon is now centered if null title is provided, by removing empty Text component fa14656 @mhsekhavat
  • ButtonGroup Fix default blue background that appears when you add a radius to the buttons 063b93f @dincozdemir
  • Input Avoid changing ref function on each render, that would cause some issues with a null ref when the Input is re-rendering. b46c9f7 @corupta
  • Button Fix proptype and typings for the icon cbc577c @iRoachie

Docs

Misc

  • (typescript) Button Change text to title 57c5557 827c03f @viggyfresh @chitswe
  • (typescript) Removed links and replace JSX.Element React.ReactElement bf85813 @Gregjarvez
  • (typescript) Rating Make onFinishEditing 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

Don't miss a new react-native-elements release

NewReleases is sending notifications on new releases.