README
@abhlabs/rn-helpers
Helpers for React Native.
Contents
Installation
Using npm:
npm install --save @abhlabs/rn-helpers
or using yarn:
yarn add @abhlabs/rn-helpers
📖 API
Method | Return Type | iOS | Android | Windows | Web |
---|---|---|---|---|---|
normalize() | number |
✅ | ✅ | ❌ | ❌ |
=======
normalize()
Normalizes the size to look same on all devices.
Examples
import {normalize} from '@abhlabs/rn-helpers';
normalize(15);
normalize(15, 320);
👏 Contributing
Please see the contributing guide
.