import type { IconPackBase, IconPackRegistry } from '@uzum-tech/icons'; import type { Component, PropType, VNodeChild } from 'vue'; import type { ExtractPublicPropTypes } from '../../../_utils'; import type { IconPackName } from '../../../config-provider/src/internal-interface'; export type Depth = 1 | 2 | 3 | 4 | 5 | '1' | '2' | '3' | '4' | '5' | undefined; export type IconNameOf
= IconPackRegistry extends Record
? Pack extends IconPackBase (props: IconBaseProps & {
pack?: P;
name?: IconNameOf ;
}) => any;
export type RenderIconProps = IconBaseProps & {
pack?: P;
};
export type RenderIconChildren = VNodeChild | (() => VNodeChild);
export {};