This repository has been archived on 2026-03-06. You can view files and clone it, but cannot push or open issues or pull requests.
todo/client/node_modules/react-icons/lib/esm/iconBase.d.ts

20 lines
593 B
TypeScript
Raw Normal View History

2025-06-13 06:04:40 +00:00
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;