0.1.6 • Published 2 years ago
vita-mobile-ui v0.1.6
vita-mobile-ui
Vita Design System components for React Native projects
Installation
npm install vita-mobile-ui
Usage
import { Button } from 'vita-mobile-ui';
const App = () => {
return (
<Button
type="primary"
title="Functional Button"
onPress={() => console.log('Pressed')}
/>
);
};
Publishing
Upload version tag on package.json
Upload package-lock.json
npm install
Build library components
yarn prepare
Publish it
npm publish
Test on Expo
yarn example [ios|android]
Install external libraries that some component may need
Install it on the library code as a dev and peerDev dependecy
yarn add external-library@version --dev
yarn add external-library@version --peer
Install it on the example App as a dependency
cd example
yarn add external-library@version
License
MIT
Made with create-react-native-library
Visit above url for documentation