0.0.4 • Published 3 years ago

convert-inline-styles-react v0.0.4

Weekly downloads
4
License
MIT
Repository
-
Last release
3 years ago

convert-inline style react

this tools for parsing inline style your code into single file

How to Use

npm i -g convert-inline-styles-react

# do it in your current working directory
convert-styles sample_file.js
// sample_file.js

<View style={{ marginBottom: 20 }} />
// automaticaly refactored to
<View style={styles.style0} />
// sample_file_style.js, this file is created automatically

import {StyleSheet} from 'react-native';
const styles = StyleSheet.create({
  style1: {
      marginBottom: 20
    }
})

video

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago