The Field component provides a convenient way to add a label to an Input component.
import {Field, Input} from 'pipeline-ui'
<Field label="Note">
<Input type="text" required={true} placeholder="your note goes here" />
</Field>
import { Table } from 'pipeline-ui';
Prop | Type | Default | Description |
---|---|---|---|
children | element (required) | ||
label | string (required) |
Field uses COMMON, LAYOUT, POSITION, FLEXBOX, BORDERS groups of Styled System props.