grommet-form

1.1.4 • Public • Published

grommet-form

Grommet-based form framework using Redux and Schema Forms

Goals

  • Grommet form elements instead of material-ui
  • Intermediate form state stored in Redux

Installation

We use yarn for installing, although you can just use npm. For example:

yarn add grommet-form
yarn

or

npm install grommet-form

Usage

See redux-react-schema-form package for documentation on how to configure forms. This package simply provides a set of Grommet components and a top-level GrommetForm component that you can use in your project.

<GrommetForm
  id="BasicForm"
  onSubmit={this.onSubmit}
  schema={this.schema}
  form={this.form}
  model={this.model}
/>

/grommet-form/

    Package Sidebar

    Install

    npm i grommet-form

    Weekly Downloads

    3

    Version

    1.1.4

    License

    Apache-2.0

    Last publish

    Collaborators

    • palecrow
    • tyrjo