react-ocean-forms-bootstrap
TypeScript icon, indicating that this package has built-in type declarations

4.2.4 • Public • Published

react-ocean-forms-bootstrap

npm GitHub license travis Greenkeeper badge Coverage Status

Bootstrap input components for react-ocean-forms with reactstrap.

API Documentation and Showcase

Features

  • Multiple input types out of the box
  • Easy usage including eGOV SG 3.0 compliance

Install

npm install react-ocean-forms-bootstrap

yarn add react-ocean-forms-bootstrap

Usage

To use the components you need a react-ocean-forms Form. Then you can simply use the components inside of a Form.

import { Form } from 'react-ocean-forms';
import { Input, ValidationSummary } from 'react-ocean-forms-bootstrap';

Then use the components where needed.

<Form
  onSubmit={this.handleSubmit}
  onValidate={this.handleValidate}
  defaultValues={{ name: 'test'}}
  asyncValidateOnChange
>
  <ValidationSummary />

  <Input
    name="name"
    label="demo_name"
  />

  <button type="submit">Submit</button>
</Form>

Documentation and Showcase

API Documentation and Showcase

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
4.2.41latest
4.0.0-alpha.21next

Version History

VersionDownloads (Last 7 Days)Published
4.2.41
4.2.30
4.2.21
4.2.10
4.2.00
4.1.01
4.0.00
3.2.10
4.0.0-alpha.21
3.2.00
3.2.0-beta.10
3.1.02
3.0.1-alpha.11
3.0.00
3.0.0-beta.10
3.0.0-beta.00
2.1.70
2.1.61
2.1.51
2.1.5-beta.11
2.1.40
2.1.30
2.1.3-beta21
2.1.3-beta11
2.1.21
2.1.2-beta21
2.1.2-beta10
2.1.10
2.1.00
2.0.00
2.0.0-rc31
2.0.0-rc20
2.0.0-rc10
2.0.0-alpha40
2.0.0-alpha31
2.0.0-alpha20
2.0.0-alpha10
1.4.10
1.4.01
1.3.00
1.2.02
1.1.00
1.0.31

Package Sidebar

Install

npm i react-ocean-forms-bootstrap

Weekly Downloads

20

Version

4.2.4

License

MIT

Unpacked Size

1.72 MB

Total Files

72

Last publish

Collaborators

  • maschino
  • thomas-eaa
  • whuimann
  • j3ernhard
  • christophka