IconProps: {
    color?: string;
    data-test?: string;
    icon: IconKey;
    margin?: number | number[];
    size?: number;
} & React.HTMLAttributes<HTMLElement>

Type declaration

  • Optionalcolor?: string

    The icon color string. May be any valid CSS string, like #2087ff or rgba(255, 32, 200, 0.5).

  • Optionaldata-test?: string
  • icon: IconKey

    The icon key.

  • Optionalmargin?: number | number[]
  • Optionalsize?: number

    The size of the icon.

This component has been deprecated. Please use assistant-ui instead.