@webgev/react-native-size
v0.2.2
Published
React native size
Downloads
1
Readme
@webgev/react-native-size
React native size
Installation
yarn add @webgev/react-native-sizeUsage
import { setDefaultWidth, rem } from "@webgev/react-native-size";
// set design width
setDefaultWidth(320)
// ...
<View style={{width: rem(20)}} />
// ...Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
