README
Label
Import
import Label from '@govuk-react/label';
Usage
Simple
<Label>Example</Label>
References:
Properties
Prop | Required | Default | Type | Description |
---|---|---|---|---|
children |
true | `````` | node | Text for the label |
error |
false |
bool | Apply error state styling to the component |