Label

A simple label. Usually used in conjunction with a FormField

Installation

import { Label } from 'uxp/components';

Signature

const Label: React.FunctionComponent<ILabelProps>

Examples

<Label>Name</Label>

Properties

Name
Type
Mandatory
Default Value
Example Value

labelFor

string

No

-

-

className

string

No

-

-

inline

boolean

No

-

-

styles

React.CSSProperties

No

-

-

spacingMode

No

-

-

icon

string

No

-

-

children

React.ReactNode

No

-

-

Last updated