UNPKG

vue-icomoon

Version:

It allows you to simply view the icons in the selection.json file provided by Icomoon.

35 lines (29 loc) 733 B
import { AllowedComponentProps, ComponentCustomProps, VNodeProps } from "vue"; export interface IcomoonProps { iconSet: Record<any, any>; icon?: string; name: string; color?: string; size?: number | string; disableFill?: boolean; removeInitialStyle?: boolean; style?: Record<any, any>; } export declare const Icomoon: { new (): { $props: AllowedComponentProps & ComponentCustomProps & VNodeProps & IcomoonProps; }; }; declare interface IconSetItem { properties: { name: string; }; icon: { paths: string[]; attrs: Object[]; width?: number | string }; } declare interface IconSet { icons: IconSetItem[]; } export declare const iconList: (iconSet: IconSet) => string[] | null;