1.0.6 • Published 10 months ago

@rhc-shared-components/form-text-input v1.0.6

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
10 months ago

@rhc-shared-components/form-text-input

Form Text Input for Red Hat certified technology apps

NPM JavaScript Style Guide

Install

yarn add @rhc-shared-components/form-text-input

Usage

import React from 'react';
import { Formik } from 'formik';
import { FormTextInput } from "@rhc-shared-components/form-text-input";

const Example = () => {
  const FieldName = 'helloWorld';
  return (
    <Formik
      initialValues={{
        [FieldName]: 'this is a test text'
      }}
      enableReinitialize={true}
      onSubmit={() => {
      }}>
      <FormTextInput
        name={FieldName}
        label={'helloWorld label'}
        helperText={'helloWorld helper'}
        isRequired={true}
      />
    </Formik> );
}

License

MIT © gautamkrishnar

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.1.6

1 year ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

3 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago