Made with create-react-library
You can install the component by using:
npm install --save input_custom
Open your React project and go to the file requiring the input component and import the input
import React, { Component } from 'react'
import { Input as Input } from 'input_custom'
import 'input_custom/dist/index.css'
class Example extends Component {
render() {
return <Input />
}
}
Once your import is complete, set up your props as needed, for example :
<Fragment>
<label>{label}</label>
<input
id={id}
type={type}
name={name}
label={label}
value={options}
required={required}
/>
</Fragment>
MIT © Lykisa