1 | import * as React from 'react';
|
2 | export interface IconBaseProps extends React.HTMLProps<HTMLSpanElement> {
|
3 | spin?: boolean;
|
4 | rotate?: number;
|
5 | }
|
6 | export interface CustomIconComponentProps {
|
7 | width: string | number;
|
8 | height: string | number;
|
9 | fill?: string;
|
10 | viewBox?: string;
|
11 | className?: string;
|
12 | style?: React.CSSProperties;
|
13 | }
|
14 | export interface IconComponentProps extends IconBaseProps {
|
15 | viewBox?: string;
|
16 | component?: React.ComponentType<CustomIconComponentProps | React.SVGProps<SVGSVGElement>> | React.ForwardRefExoticComponent<CustomIconComponentProps>;
|
17 | ariaLabel?: React.AriaAttributes['aria-label'];
|
18 | }
|
19 | declare const Icon: React.ForwardRefExoticComponent<Omit<IconComponentProps, 'ref'> & React.RefAttributes<HTMLSpanElement>>;
|
20 | export default Icon;
|