npm.io
0.1.27 • Published 3 years ago

@12peanuts/design-system-react-native

Licence
MIT
Version
0.1.27
Deps
3
Size
567 kB
Vulns
0
Weekly
0

@12peanuts/design-system-react-native

A set of UI components for ReactNative. If you are looking for UI kit, try this in your project.

Installation

Using npm:

npm install @12peanuts/design-system-react-native
Using yarn:
yarn add @12peanuts/design-system-react-native

Usage

After installation, wrap your entry point with <ThemeProvider> that supports predefined theme.

import React from 'react';
import { ThemeProvider } from '@12peanuts/design-system-react-native';

export default function App() {
    return (
        <ThemeProvider>
            <RootView />
        </ThemeProvider>
    );
}

if you want to use Tabs, you need to install react-native-reanimated(3.1.0) first.

Tutorials

Contribution

This project is an open source project with MIT license - you can browse source code and use components in your applications without any limitations. Although th project is open source, we do not accept any contributions to this project.

License

MIT