Skip to content

Latest commit

 

History

History
39 lines (33 loc) · 939 Bytes

README.md

File metadata and controls

39 lines (33 loc) · 939 Bytes

React style component generator

Help you build faster styled component by using fixed format. By using the fixed format (which will be described next) the command "Generate styled" will generate/add components for you, Skip the boiler code! 👍

Fixed Format

The file format should be as follow:

  1. import the styled component as "S",
  2. tags should start with "< S.",




3. styled component file name will always be "styled.js" 4. styled file structure will be like that:



How to use

Their is only one command which is: Generate styled

#note The second image is what you get after you execute the command Generate styled while standing on the file in the first image

First extension :)

Github: https://github.com/DadonStyle/react-style-component-helper

Enjoy!