Properties for the Icon component.

Hierarchy

  • IconProps

Properties

color?: "string"

Icon color key.

Example:

  <color="primary-100" />
height?: string

Icon height

Example:

 <height={100} />
iconKey: IconValues

Determines the icon to be displayed.

Example:

  <iconKey="alert-circle" />
width?: string

Icon width

Example:

  <width={100} />