UNPKG

@poupe/vue

Version:

Vue component library for Poupe UI framework with theme customization and accessibility support

17 lines (16 loc) 750 B
import { type DeepReadonly, type MaybeRefOrGetter } from "vue"; import { type IconifyIcon } from "@iconify/vue"; type IconValue = IconifyIcon | string; type IconNames = "blankIcon" | "hidePassword" | "showPassword" | "spinner" | "unknownIcon"; type GlobalIcons = Record<string, Record<string, IconValue>> & { poupe: Record<IconNames, IconValue>; }; declare const globalIcons: GlobalIcons; declare const registerIcons: (namespace: string, icons: Record<string, IconValue>) => void; declare const toIcon: (icon: MaybeRefOrGetter<IconifyIcon | string | undefined>) => IconifyIcon | string; export declare const usePoupeIcons: () => { icons: DeepReadonly<typeof globalIcons>; registerIcons: typeof registerIcons; toIcon: typeof toIcon; }; export {};