LabelItem
16 Dec 20251 minute to read
Represents LabelItem in the block editor component.
Properties
groupBy string
Specifies the group header for the label.
This is used to categorize labels within the editor.
Defaults to ’’
iconCss string
Specifies the CSS class for the label’s icon.
This can be used to define custom label icons which appears near the label text.
Defaults to ’’
id string
Specifies the unique identifier for the label.
Defaults to ’’
labelColor string
Specifies the color of the label.
This can be used to visually distinguish labels.
Defaults to ’’
text string
Specifies the display text for the label.
Defaults to ’’