simple-input-custom-component
v1.0.6
Published
A library of React components created using `create-react-app`.
Downloads
5
Maintainers
Readme
simple-input-custom-component
A library of React components created using create-react-app
.
Installation
Run the following command:
npm install simple-input-custom-component
created by BeckhamVinoth
Usage
import SimpleInput from 'simple-input-custom-component';
return (
<div className="App">
<header className="App-header">
<h2>My simple component blelow : </h2>
<SimpleInput />
</header>
</div>
);
}
Attributes
type, label, value, onChange, placeholder
<SimpleInput type="password" lable="your lable here" onChange={this.urMethod} placeholder="type something1" />