@socialwell-design/input-field
v1.1.7
Published
Input Field component from socialwell ui library
Downloads
23
Readme
This is a socialwell web design system
Installation
yarn add @socialwell-design/input-field
or
npm i @socialwell-design/input-field
How to use
import { TextField,SelectField,TextAreaField } from "@socialwell-design/input-field";
<TextField onChange={() => {}} /> // type="text"
<TextField
onChange={() => {}}
type="number"
/>
<SelectField onChange={() => {}}>
<option value="1">
one
</option>
<option value="2">
two
</option>
</SelectField>
<TextAreaField onChange={() => {}} />