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

0.1.0 • Public • Published

react-native-responsive-size

Support typescripts

Installation

yarn add react-native-responsive-size

Usage

import * as React from 'react';
import { StyleSheet, View } from 'react-native';
import { heightResponsive } from 'react-native-responsive-size';

export default function App() {
  return (
    <View style={styles.container}>
      <View style={{ width: '100%', height: heightResponsive(200), backgroundColor: 'green' }}>

      </View>
    </View>
  );
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
  },
});

Contributing

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

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    4
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    4

Package Sidebar

Install

npm i react-native-responsive-size

Weekly Downloads

4

Version

0.1.0

License

MIT

Unpacked Size

45.6 kB

Total Files

27

Last publish

Collaborators

  • daihieptn97