0.0.1 • Published 3 years ago

@cerberus-ds-test/inline-form-control v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Cerberus => Inline Form Control

Installation

yarn add @cerberus-ds/inline-form-control

# or

npm i @cerberus-ds/inline-form-control

Importing Component

import {
  InlineFormControl
} from '@cerberus-ds/inline-form-control'

Usage

<InlineFormControl
  label='Name'
  helperText='This is a helper text'
  identifier='name'
  inputComponent={
    <Input
      id='name'
      type='text'
    />
  }
  isInvalid
  isRequired
  isDisabled
/>