11 lines
412 B
TypeScript
11 lines
412 B
TypeScript
|
import * as React from 'react';
|
||
|
import type { IconBaseProps } from './Icon';
|
||
|
export interface CustomIconOptions {
|
||
|
scriptUrl?: string | string[];
|
||
|
extraCommonProps?: Record<string, unknown>;
|
||
|
}
|
||
|
export interface IconFontProps<T extends string = string> extends IconBaseProps {
|
||
|
type: T;
|
||
|
}
|
||
|
export default function create<T extends string = string>(options?: CustomIconOptions): React.FC<IconFontProps<T>>;
|