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