first commit
This commit is contained in:
20
frontend/node_modules/@ant-design/icons/lib/components/Icon.d.ts
generated
vendored
Normal file
20
frontend/node_modules/@ant-design/icons/lib/components/Icon.d.ts
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
import * as React from 'react';
|
||||
export interface IconBaseProps extends React.HTMLProps<HTMLSpanElement> {
|
||||
spin?: boolean;
|
||||
rotate?: number;
|
||||
}
|
||||
export interface CustomIconComponentProps {
|
||||
width: string | number;
|
||||
height: string | number;
|
||||
fill?: string;
|
||||
viewBox?: string;
|
||||
className?: string;
|
||||
style?: React.CSSProperties;
|
||||
}
|
||||
export interface IconComponentProps extends IconBaseProps {
|
||||
viewBox?: string;
|
||||
component?: React.ComponentType<CustomIconComponentProps | React.SVGProps<SVGSVGElement>> | React.ForwardRefExoticComponent<CustomIconComponentProps>;
|
||||
ariaLabel?: React.AriaAttributes['aria-label'];
|
||||
}
|
||||
declare const Icon: React.ForwardRefExoticComponent<Omit<IconComponentProps, 'ref'> & React.RefAttributes<HTMLSpanElement>>;
|
||||
export default Icon;
|
||||
Reference in New Issue
Block a user