formsy-react-components

WebJar for formsy-react-components

License

License

MIT
Categories

Categories

React User Interface Web Frameworks ORM Data
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

formsy-react-components
Last Version

Last Version

0.10.1
Release Date

Release Date

Type

Type

jar
Description

Description

formsy-react-components
WebJar for formsy-react-components
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/twisty/formsy-react-components

Download formsy-react-components

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/formsy-react-components/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>formsy-react-components</artifactId>
    <version>0.10.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/formsy-react-components/
implementation 'org.webjars.npm:formsy-react-components:0.10.1'
// https://jarcasting.com/artifacts/org.webjars.npm/formsy-react-components/
implementation ("org.webjars.npm:formsy-react-components:0.10.1")
'org.webjars.npm:formsy-react-components:jar:0.10.1'
<dependency org="org.webjars.npm" name="formsy-react-components" rev="0.10.1">
  <artifact name="formsy-react-components" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='formsy-react-components', version='0.10.1')
)
libraryDependencies += "org.webjars.npm" % "formsy-react-components" % "0.10.1"
[org.webjars.npm/formsy-react-components "0.10.1"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : classnames jar [2.1.3,3)

Project Modules

There are no modules declared in this project.

formsy-react-components

Build Status npm version GitHub release GitHub contributors

Note: The work here on the master branch is for upcoming release that supports Bootstrap 4. The source for current (1.x) releases can be found on the release-1.x branch.


formsy-react-components is a selection of React components that render form elements for use in a formsy-react form.

The components render markup to be quickly included in a Bootstrap 4 form. This includes a <label>, help text, and some validation styling tied to formsy’s validation state and validation messages.

Install

To install using yarn:

yarn add formsy-react
yarn add formsy-react-components@next

To install using npm:

npm install --save formsy-react
npm install --save formsy-react-components@next

Browser Support

This should run on browsers where both Bootstrap and React are supported.

  • Internet Explorer: polyfills for Set and Array.from are required.

Usage

import { Form, Input } from 'formsy-react-components';

const MyForm = (props) => {
  return (
    <Form onSubmit={(data) => { console.log(data) }}>
      <Input
        name="firstname"
        label="What is your first name?"
      />
    </Form>
  )
}

Examples

Documentation

Documentation is a work in progress!

  • For a working code example, visit the Playground, then examine the source.
  • There is some information in /docs.

Versions

Version
0.10.1