IconFont.d.ts 491 B

123456789101112131415
  1. import { FunctionalComponent } from 'vue';
  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 extends IconBaseProps {
  10. type: string;
  11. }
  12. export interface IconFontType extends FunctionalComponent<IconFontProps> {
  13. displayName: string;
  14. }
  15. export default function create(options?: CustomIconOptions): FunctionalComponent<IconFontProps>;