@socialwell-design/input-field
TypeScript icon, indicating that this package has built-in type declarations

1.1.7 • Public • Published

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={() => {}} />

Readme

Keywords

none

Package Sidebar

Install

npm i @socialwell-design/input-field

Weekly Downloads

1

Version

1.1.7

License

MIT

Unpacked Size

53.2 kB

Total Files

18

Last publish

Collaborators

  • socialwell