react-native-zero-ui v0.0.3
Get Started
Installation
Note: Version 0.5 brought major changes so please make sure you've read and understood the documentation before proceeding with updating the old one
If you want just the components, you need to add the plugin using
npm install react-native-zero-ui --save
or
yarn add react-native-zero-ui
Theme support
Latest version of React Native Zero UI has simplified, standalone and Context API supported theming for your components.
We've decided to remove styleName
way of styling components because it is not really "react native like". However, providing default styles for any of the components is enabled. You can even add custom named styling properties such as titleStyle
in <Button />
by prefixing it's key with _
symbol within the theme. For example:
const theme = {
'#Button': {
_titleStyle: { color: 'white' },
backgroundColor: 'cyan',
},
};
Components Included
Theme elements
Documentation
Demo App
Additionally, take a look at the example/ folder to view the implementation & run the RNE expo app locally.