main page
This commit is contained in:
19
node_modules/react-icons/lib/esm/iconBase.d.ts
generated
vendored
Normal file
19
node_modules/react-icons/lib/esm/iconBase.d.ts
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
import * as React from "react";
|
||||
export interface IconTree {
|
||||
tag: string;
|
||||
attr: {
|
||||
[key: string]: string;
|
||||
};
|
||||
child: IconTree[];
|
||||
}
|
||||
export declare function GenIcon(data: IconTree): (props: IconBaseProps) => React.JSX.Element;
|
||||
export interface IconBaseProps extends React.SVGAttributes<SVGElement> {
|
||||
children?: React.ReactNode;
|
||||
size?: string | number;
|
||||
color?: string;
|
||||
title?: string;
|
||||
}
|
||||
export type IconType = (props: IconBaseProps) => JSX.Element;
|
||||
export declare function IconBase(props: IconBaseProps & {
|
||||
attr?: Record<string, string>;
|
||||
}): JSX.Element;
|
||||
Reference in New Issue
Block a user