react-advanced-form-addons

1.3.3 • Public • Published

React Advanced Form Addons

A collection of tools dedicated for fast form prototyping using React Advanced Form.

Components

Fields

  • Input
  • Radio
  • Checkbox
  • Select
  • Textarea

Other

  • Label
  • Button

Getting started

Install

NPM:

npm install react-advanced-form-addons --save

Yarn:

yarn install react-advanced-form-addons

Note: You would need to have react-advanced-form installed as a peer dependency in order to use this package.

Prototype!

import React from 'react';
import { Form } from 'react-advanced-form';
import { Input, Select } from 'react-advanced-form-addons';
 
export default class Example extends React.Component {
  render() {
    return (
      <Form>
        <Input
          name="username"
          required />
        <Select
          name="role"
          required>
          <option value="admin">Administrator</option>
          <option value="editor">Editor</option>
        </Select>
      </Form>
    );
  }
}

License

This project is issued under MIT License.

Package Sidebar

Install

npm i react-advanced-form-addons

Weekly Downloads

62

Version

1.3.3

License

MIT

Unpacked Size

147 kB

Total Files

7

Last publish

Collaborators

  • kettanaito