react-native-global-styles
v1.0.2
Published
Pass global styles recursively as props to children
Downloads
1
Maintainers
Readme
📝 Table of Contents
🚀 Installation
You can install the package using yarn or npm
npm
npm install react-native-global-styles
yarn
yarn add react-native-global-styles
💡 Usage
import React from 'react'
import GlobalStyles from 'react-native-global-styles'
import Component1 from './Component1'
import Component2 from './Component2'
<GlobalStyles styles={ height: 100, width: 100 }>
<Component1 />
<Component2 />
</GlobalStyles>
⛏️ Built Using
✍️ Authors
- @umairx97 - Idea & Initial work