1 | import * as React from 'react';
|
2 | import { IconBaseProps } from './Icon';
|
3 | export interface CustomIconOptions {
|
4 | scriptUrl?: string | string[];
|
5 | extraCommonProps?: {
|
6 | [key: string]: any;
|
7 | };
|
8 | }
|
9 | export interface IconFontProps<T extends string = string> extends IconBaseProps {
|
10 | type: T;
|
11 | }
|
12 | export default function create<T extends string = string>(options?: CustomIconOptions): React.FC<IconFontProps<T>>;
|