DocSpace-buildtools/web/ASC.Web.Storybook/stories/field-container/base
2019-09-04 12:20:22 +03:00
..
index.stories.js Storybook: added isVertical prop to form field components 2019-09-04 12:20:22 +03:00
README.md Storybook: added isVertical prop to form field components 2019-09-04 12:20:22 +03:00

FieldContainer

Usage

import { FieldContainer } from 'asc-web-components';

Responsive form field container

Usage


<FieldContainer labelText="Name:">
    <TextInput/>
</FieldContainer>

Properties

Props Type Required Values Default Description
isVertical bool - - false Vertical or horizontal alignment
isRequired bool - - false Indicates that the field is required to fill
hasError bool - - false Indicates that the field is incorrect
labelText string - - - Field label text