@rhc-shared-components/form
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

@rhc-shared-components/form

Form component for certified technology apps

NPM JavaScript Style Guide

Install

npm install --save @rhc-shared-components/form

Usage

import React, { Component } from 'react'

import FormContainer from '@rhc-shared-components/form'
import '@rhc-shared-components/form/dist/index.css'

class Example extends Component {
  render() {
    <Formik
      initialValues={{
        [FieldName]: 'this is a test text'
      }}
      enableReinitialize={true}
      onSubmit={() => {
      }}>
      <FormContainer gridSpan={12}>
        <!-- Form Elements -->
      </FormContainer>
    </Formik>
  }
}

License

MIT © authorGithubUsername

Readme

Keywords

none

Package Sidebar

Install

npm i @rhc-shared-components/form

Weekly Downloads

34

Version

2.0.1

License

MIT

Unpacked Size

8.76 kB

Total Files

10

Last publish

Collaborators

  • swsoni
  • ayushi_midha
  • recampos
  • eyevana
  • kipatil-1
  • shkale
  • bdone
  • gkr-redhat