0.2.2 • Published 2 years ago
@webgev/react-native-size v0.2.2
@webgev/react-native-size
React native size
Installation
yarn add @webgev/react-native-size
Usage
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