Skip to content
This repository has been archived by the owner on Apr 28, 2020. It is now read-only.

ZeroMolecule/react-native-zero-components

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zero Components

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

Other

If you want us to include another component or something else, please let us know!

Documentation

View the full docs here

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

Releases

No releases published

Packages

No packages published