|
| 1 | +<img alt="React Native Library Boilerplate" src="assets/logo.png" width="1050"/> |
| 2 | + |
| 3 | + |
| 4 | +[](https://github.com/WrathChaos/react-native-library-boilerplate) |
| 5 | + |
| 6 | + |
| 7 | +[](https://github.com/WrathChaos/react-native-library-boilerplate) |
| 8 | + |
| 9 | + |
| 10 | +[](https://www.npmjs.com/package/react-native-library-boilerplate) |
| 11 | +[](https://www.npmjs.com/package/react-native-library-boilerplate) |
| 12 | + |
| 13 | +[](https://opensource.org/licenses/MIT) |
| 14 | +[](https://github.com/prettier/prettier) |
| 15 | + |
| 16 | +<p align="center"> |
| 17 | + <img alt="React Native Library Boilerplate" |
| 18 | + src="assets/Screenshots/JSLibraryBoilerplate.png" /> |
| 19 | +</p> |
| 20 | + |
| 21 | +# Installation |
| 22 | + |
| 23 | +Add the dependency: |
| 24 | + |
| 25 | +```ruby |
| 26 | +npm i react-native-library-boilerplate |
| 27 | +``` |
| 28 | + |
| 29 | +## Peer Dependencies |
| 30 | + |
| 31 | +###### IMPORTANT! You need install them |
| 32 | + |
| 33 | +```js |
| 34 | +"react": ">= 16.x.x", |
| 35 | +"react-native": ">= 0.55.x", |
| 36 | +``` |
| 37 | + |
| 38 | +# Usage |
| 39 | + |
| 40 | +## Import |
| 41 | + |
| 42 | +```js |
| 43 | +import { Component1, Component2 } from "react-native-library-boilerplate"; |
| 44 | +``` |
| 45 | + |
| 46 | +## Component1 Usage |
| 47 | + |
| 48 | +```js |
| 49 | +<Component1 /> |
| 50 | +``` |
| 51 | + |
| 52 | +# Configuration - Props |
| 53 | + |
| 54 | +| Property | Type | Default | Description | |
| 55 | +| -------- | :-----: | :-----: | ------------------------------------------------------- | |
| 56 | +| outline | boolean | true | make the button outline | |
| 57 | +| solid | boolean | false | make the button with a solid background and a shadow | |
| 58 | +| gradient | boolean | false | make the button with a gradient background and a shadow | |
| 59 | +| width | number | 150 | change the button's width | |
| 60 | + |
| 61 | +## Future Plans |
| 62 | + |
| 63 | +- [x] ~~LICENSE~~ |
| 64 | +- [ ] Write an article about the lib on Medium |
| 65 | + |
| 66 | +# Change Log |
| 67 | + |
| 68 | +Change log will be here ! |
| 69 | + |
| 70 | +## Author |
| 71 | + |
| 72 | +FreakyCoder, kurayogun@gmail.com |
| 73 | + |
| 74 | +## License |
| 75 | + |
| 76 | +React Native Library Boilerplate is available under the MIT license. See the LICENSE file for more info. |
0 commit comments