formsy-react-components

WebJar for formsy-react-components

Лицензия

Лицензия

MIT
Категории

Категории

React Взаимодействие с пользователем Веб-фреймворки ORM Данные
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

formsy-react-components
Последняя версия

Последняя версия

0.10.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

formsy-react-components
WebJar for formsy-react-components
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

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

Скачать formsy-react-components

Как подключить последнюю версию

<!-- 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"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.webjars.npm : classnames jar [2.1.3,3)

Модули Проекта

Данный проект не имеет модулей.

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.

Версии библиотеки

Версия
0.10.1