@socialwell-design/form-control
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/form-control

or

npm i @socialwell-design/form-control

How to use

import { FormControl } from "@socialwell-design/form-control";

<FormControl
  label="Label"
  onChange={() => {}}
  type="text"
/>

or

<FormControl
  label="Label"
  onChange={() => {}}
  type="select"
>
  <option value="1">
    one
  </option>
  <option value="2">
    two
  </option>
</FormControl>

or

<FormControl
  label="description"
  onChange={() => {}}
  type="textarea"
/>

Readme

Keywords

none

Package Sidebar

Install

npm i @socialwell-design/form-control

Weekly Downloads

1

Version

1.1.7

License

MIT

Unpacked Size

51 kB

Total Files

14

Last publish

Collaborators

  • socialwell