create-easy

1.0.2 • Public • Published

Create Styled React Component

Installation

npm install -g create-easy

Action

☁ ~ create-easy garden
Garden.js created

Result

☁ ~ 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

Readme

Keywords

none

Package Sidebar

Install

npm i create-easy

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

1.46 kB

Total Files

3

Last publish

Collaborators

  • garethrobertlee