amis-rpc-design/node_modules/@ant-design/icons/es/components/IconFont.d.ts
2023-10-07 19:42:30 +08:00

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>>;