@platformbuilders/react-native-ui
TypeScript icon, indicating that this package has built-in type declarations

0.5.0 • Public • Published

@platformbuilders/react-native-ui

Build Status codecov npm react-native MIT

Welcome to the @platformbuilders/react-native-ui package here you will find out all of our components shared with the community

Whats the idea of this repository

Its a place that we can share a little bit of our code base and show how we work on our projects with our components!

How can i use the library?

Now it's under development and we will release it soon!

You will need to install some native dependencies that we use on the code:

yarn add lottie-ios lottie-react-native react-native-camera react-native-vector-icons react-native-haptic react-native-image-picker react-native-svg react-native-fast-image react-native-checkbox react-native-smooth-pincode-input react-native-iphone-x-helper && cd ios && pod install

Here's how you add our dependencie to your project @platformbuilders/react-native-ui

  1. depend on it:
yarn add @platformbuilders/react-native-ui
  1. import the ThemeProvider from styled-components and provide the Theme following the ThemeType definition.
import { ThemeProvider } from 'styled-components';
import { ThemeType } from '@platformbuilders/react-native-ui';

const theme: ThemeType = { ... };

<ThemeProvider theme={theme}>
  <App />
</ThemeProvider>
  1. use it
import { Button } from '@platformbuilders/react-native-ui';

Package Sidebar

Install

npm i @platformbuilders/react-native-ui

Weekly Downloads

6

Version

0.5.0

License

MIT

Unpacked Size

160 kB

Total Files

191

Last publish

Collaborators

  • luancteixeira
  • dev-builders