Non Programming Manager

    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

    Install

    npm i react-native-responsive-size

    DownloadsWeekly Downloads

    0

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    45.6 kB

    Total Files

    27

    Last publish

    Collaborators

    • daihieptn97