0.0.1 • Published 7 years ago

react-native-hybrid-stylesheet v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

react-native-hybrid-stylesheet

Allow you to create different styles for Android and iOS.

Installation

npm install @diegoprates/react-react-native-hybrid-stylesheet

Usage

import StyleSheet from 'react-native-hybrid-stylesheet';

const styles = StyleSheet.create({
    container: {
        flex: 1,        
        ios: {
            backgroundColor: '#F5FCFF'
        },
        android: {
            backgroundColor: '#f234f1'
        }
    }    
});

Note

This module is based on this project.