react-native-easy-themes is a library for create styling and reuse it as much as possible in react-native.
Install the dependencies and start the server.
$ yarn add react-native-easy-themes
How to use?
- First you need to build the theme in the root file.import
- Then you can use it's like thisexport default class App extends Component
- For customization, run:$ node node_modules/react-native-easy-themes/eject.js
- And you will see themes folder appear in the root of your project, insize it's will have the build and getStyle function, and themes variables.const yourCustomOptions =buildTheme;
- Write MORE Tests