Represents an icon.

Implements

Constructors

Properties

Methods

Constructors

  • Parameters

    • Optionaltype: string

      The type of the rich content element.

    • Optionalcolor: string

      The Color of the icon.

    Returns Icon

Properties

color?: string

The color of the icon.

type?: string

The type of the icon.

Methods

  • Converts this Icon to JSON.

    Returns {
        [k: string]: unknown;
    }

    JSON object

    • [k: string]: unknown