interface APILabelComponent

external
export interface APILabelComponent extends APIBaseComponent<ComponentType.Label>

A Label is a top-level layout component. Labels wrap modal components with text as a label and optional description.

See also: https://discord.com/developers/docs/components/reference#label

external
component : APIComponentInLabel

The component within the label

optionalexternal
description? : string

An optional description text for the label; max 100 characters

external
label : string

The label text; max 45 characters