@chantelle/form

0.1.2 • Public • Published

Input

Installation

yarn add @chantelle/field-text

Usage

First, include the CSS in your HTML:

<link rel="stylesheet" href="node_modules/@chantelle/field-text/dist/styles.css">

Note: you can import the CSS directly into your project if your bundler supports it:

 import '@chantelle/input/field-text/styles.css';

React Component

import { Input } from '@chantelle/form';

ReactDOM.render(
  <Input
    id='someid'
    label='Name'
    isRequired
  />,
  container
);

CSS API

TBD.

Readme

Keywords

none

Package Sidebar

Install

npm i @chantelle/form

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

13.9 kB

Total Files

11

Last publish

Collaborators

  • ctsd
  • blackakula