react-native-responsive-helper
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

react-native-responsive-helper

React Native Responsive Helper provides responsive sizes for responsive UI design

Installation

npm install react-native-responsive-helper

Usage

import { responsiveSize,responsiveHeight } from 'react-native-responsive-helper';

// ...
const styles = StyleSheet.create({
    ...
    text: {
        ...
        fontSize: responsiveSize(21),
        height: responsiveHeight(100),
        ...
    }
    ...
})

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

Package Sidebar

Install

npm i react-native-responsive-helper

Weekly Downloads

2

Version

0.1.0

License

MIT

Unpacked Size

33.7 kB

Total Files

10

Last publish

Collaborators

  • abiraman