create-easy
v1.0.2
Published
Create componenty from cli
Readme
Create Styled React Component
Installation
npm install -g create-easyAction
☁ ~ create-easy garden
Garden.js createdResult
☁ ~ cat Garden.js
import React from 'react'
import styled from 'styled-components'
const GardenStyle = styled.div`
opacity: 1
`
const Garden = props => (
<GardenStyle>Hello {props.text}</GardenStyle>
)
export default Garden