LabelsLeftLayout
import { LabelsLeftLayout } from 'cx/ui'; Copied LabelsLeftLayout is used for horizontal form layouts. It renders children inside a table where labels go into the first column and inputs go into the second column.
<LabelsLeftLayout>
<TextField value={m.name} label="Name" />
<TextField value={m.email} label="Email" />
<NumberField value={m.age} label="Age" />
<TextArea value={m.bio} label="Bio" rows={3} />
</LabelsLeftLayout> Use LabeledContainer when multiple widgets need to share a single label.
Configuration
| Property | Type | Description |
|---|---|---|
labelStyle | StyleProp | Style applied to label cells. |
labelClass | ClassProp | CSS class applied to label cells. |