1.0.2 • Published 2 years ago
rncomponent-01 v1.0.2
RN Component
Installation
If using yarn:
yarn add rncomponent-01
If using npm:
npm i rncomponent-01
Usage
import MyComponent from 'rncomponent-01';
Here is an example of using RN Component with a React component
import { StyleSheet, View } from 'react-native';
import MyComponent from 'rncomponent-01';
export default function App() {
return (
<View style={styles.container}>
<MyComponent value='Congratss!! You have created your first npm package'/>
</View>
);
}
Author
Twindo Dev |