Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 614 Bytes

TextArea.md

File metadata and controls

19 lines (16 loc) · 614 Bytes

<TextArea /> Component

This component is represents textarea for <Form />. It requires context which is provided by <FormGroup />.

Usage

<Form {...FormProps}>
    <FormGroup {...FormGroupProps}>
        <TextArea 
            transform={TransformTypes.capitalize} 
            {...HTMLTextAreaElementProps}
        />
    </FormGroup>
</Form>

where:

  • transform - transform input value with specific preset. Optional. Can take on values: TransformTypes.capitalize, TransformTypes.upperCase, TransformTypes.none.