react-native-zero-components
v0.5.3
Published
Zero Molecule component kit for React Native
Downloads
8
Maintainers
Readme
Introduction
Zero Components is a React Native component collection library. Here we have all the components that we at Zero Molecule use on most of our projects that are not available in the standard React Native component collection
Features
- One touchable to rule them all (main motivation for this whole library)
- Button components that don't suck
- Simple way to generate shadows for your components
- Flow typed props
- Customizable UI components
Getting started
Installation
If you want just the components, you need to add the plugin from npm.js using
npm install react-native-zero-components --save
or if you prefer yarn
yarn add react-native-zero-components
Usage
To use the components, just import them from react-native-zero-components
and use them like you would use any other component
import React from 'react'
import { View } from 'react-native'
import { Button } from 'react-native-zero-ui'
const App = () => {
return (
<View>
<Button
title="Click me"
onPress={() => console.log('Hello there!')}
/>
</View>
);
};
Content
Components
- [x] Button
- [x] ImageButton
- [x] Touchable
Other
- [x] Shadow
If you want us to include another component or something else, please let us know!
Documentation
Demo App
Zero Components demo app is written using Expo. Take a look at the example/ directory for more information. Better showcase app comming soon!
License
Zero Components is open source and released under the BSD-3-Clause License