Page MenuHomec4science

iconBase.d.ts
No OneTemporary

File Metadata

Created
Thu, Jan 30, 07:06

iconBase.d.ts

import * as React from "react";
export interface IconTree {
tag: string;
attr: {
[key: string]: string;
};
child: IconTree[];
}
export declare function GenIcon(data: IconTree): (props: IconBaseProps) => JSX.Element;
export interface IconBaseProps extends React.SVGAttributes<SVGElement> {
children?: React.ReactNode;
size?: string | number;
color?: string;
title?: string;
}
export declare type IconType = (props: IconBaseProps) => JSX.Element;
export declare function IconBase(props: IconBaseProps & {
attr?: Record<string, string>;
}): JSX.Element;

Event Timeline