renceng-native is an implementation of Renceng Design Language System for react-native apps using styled-system and @emotion-native.
$ npm install -s @warungpintar/renceng-native
or
$ yarn add @warungpintar/renceng-native
import { View, Text } from '@warungpintar/renceng-native';
const App = () => (
<>
<View mx={16} my={8}>
<Text category="4xl" fontFamily="OpenSans-SemiBold">This is a text</Text>
</View>
</>
);
Storybook Web - Go to https://renceng-native.netlify.app/ or clone this repo and execute yarn storybook
on example folder
Storybook React Native - clone this repo and execute yarn android
on example folder
Want to contribute to this repo? Check out the Contributing Docs