2.4.0 • Published 2 years ago
react-inline-form-component v2.4.0
��# ShortCuts for React forms components
Currently Available ShortCuts
1. Input.\
2. Select.\
How to import:
import {Input} from 'react-inline-forms-component'
Input function: Input(type, className, name, value, id, placeholder, onChange, disabled).\
eg: Input(text, 'classA, classB', 'foo', 'bar', 'foo', 'Example', handleChange, false)
.\Select function: Select(selectClassName, optionsClassName, Name, value, id, onChange, arr).\ where arr is an array of options value
eg: Select('classesA', 'classesB', 'cars', 'car A', 'cars', handleChange, arr)