Type Alias IconPropsBeta

IconProps: {
    className?: string;
    icon: string;
    iconRef?: ReactRef<HTMLSpanElement>;
    rotate?: number;
    spin?: boolean;
    style?: ReactCssProperties;
}

Represents properties for an icon.

Type declaration

  • Optional BetaclassName?: string

    Optional class name for styling.

  • Betaicon: string

    Name of the icon.

  • Optional BetaiconRef?: ReactRef<HTMLSpanElement>

    Reference to the HTML span element.

  • Optional Betarotate?: number

    Rotation angle for the icon.

  • Optional Betaspin?: boolean

    Whether the icon should spin.

  • Optional Betastyle?: ReactCssProperties

    CSS properties for the icon.