Skip to content

AngusFu/react-native-css-transform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-native-css-transform

npm npm

transform css files into js files in react-native-style

$ npm install react-native-css-transform

$ rncss ./styles

TODO

watch files

DEMO

img {
    flex: 2;
    justify-content: 'center';
    margin: 20 14 20 14;
    background-size: cover;
}
/**
 * create by react-native-css-transform
 * see: https://github.com/AngusFu/react-native-css-transform
 */

import { StyleSheet } from 'react-native';

const styles = StyleSheet.create({
    "img": {
        "flex": 2,
        "justifyContent": "center",
        "marginTop": 20,
        "marginRight": 14,
        "marginBottom": 20,
        "marginLeft": 14,
        "resizeMode": "cover"
    }
});

export default styles;

About

transform css files into react-native StyleSheet objects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published