Skip to content

VMNthemaster/react-inline-forms-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ShortCuts for React forms components

Currently Available ShortCuts

1. Input.\

2. Select.\

How to import:

import {Input} from 'react-inline-forms-component'

  1. Input function: Input(type, className, name, value, id, placeholder, onChange, disabled).
    eg: Input(text, 'classA, classB', 'foo', 'bar', 'foo', 'Example', handleChange, false).\

  2. 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)

About

NPM package for writing complete form components in one line

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published