Properties of a Label component displayed by the toolbar.

interface LabelProps {
    text: string;
    variant?: Variant;
}

Properties

Properties

text: string

The label text.

variant?: Variant

The label variant.