amis-rpc-design/node_modules/@ant-design/icons/es/components/IconFont.d.ts

11 lines
412 B
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
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>>;