1.0.1 • Published 5 years ago
first-component-lib v1.0.1
first-component-lib
Made with create-react-library
Install
npm install --save first-component-lib
Usage
import React, { Component } from 'react'
import { Button, Input } from 'first-component-lib'
import "first-component-lib/dist/index.css"
class Example extends Component {
render() {
return (
<div>
<Button onClick={() => alert("clicked")}> Click Me</Button>
<Input value="SAlmlar" onChange = { (event) => {}} style={{ height: 50 }} />
</div>
)
}
}
License
MIT © ElmanAASTANOV