1.0.2 • Published 4 years ago
my-component-lib-treichel v1.0.2
my-component-lib
Teste de criação de biblioteca de componentes Criado usando create-react-library Rollup for bundling Babel for transpiling Jest for testing
Install
npm install --save my-component-lib
Usage
import React, { Component } from 'react'
import MyComponent from 'my-component-lib'
import 'my-component-lib/dist/index.css'
class Example extends Component {
render() {
return <MyComponent />
}
}
License
MIT © Felipe Alberto Treichel
Referências
https://medium.com/trainingcenter/css-no-javascript-aprendendo-a-usar-styled-components-894ebf575c87