1.0.2 • Published 3 years ago
dinesh-learn1 v1.0.2
dinesh-learn1
Made with create-react-library
Install
npm install --save dinesh-learn1
Usage
import React, { useState } from 'react';
import { Input } from 'dinesh-learn1';
import 'dinesh-learn1/dist/index.css';
const App = () => {
const [value, setValue] = useState('');
const handleChange = event => {
setValue(event.target.value);
};
return <Input
placeholder="Create React Library Example 😄"
value={value}
handleChange={handleChange}
/>
};
export default App;
License
MIT © dinesh24murali