/react-native-global-size

react-native-global-size is a small library that provides simple methods so that React Native developers can code their UI elements fully responsive.

Primary LanguageJavaScript

react-native-global-size

react-native-global-size is a small library that provides simple methods so that React Native developers can code their UI elements fully responsive .

Installation

https://www.npmjs.com/package/react-native-global-size

Example

import {GLobalSize} from 'react-native-global-size'

Here the first argument indicates the size of the component you want, and the second argument is the reference height of the screen. Bascially the reference height is your app screen height as per the design.

Screenshot 2023-07-12 at 10 56 52 AM