/react-native-responsive-size-utilities

This library contains a utility to be able to use density pixel instead of fixed pixels

Primary LanguageTypeScriptMIT LicenseMIT

ResponsiveSizeUtilities

What is it ?

This library contains a utility to be able to use density pixel instead of fixed pixels

Installation

npm install @nexapp/react-native-responsive-size-utilities --save

or

yarn add @nexapp/react-native-responsive-size-utilities

Usage

import normalizeSize from "@nexapp/react-native-responsive-size-utilities"

let width = normalizeSize(50)

Licence

MIT