0.2.2 • Published 2 years ago

@webgev/react-native-size v0.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@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

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago