UNPKG

maz-ui

Version:

A standalone components library for Vue.Js 3 & Nuxt.Js 3

27 lines (26 loc) 1.22 kB
export interface MazIconProps { /** The source path of the SVG file - e.g: `/icons/home.svg` */ src?: string; /** The path of the folder where the SVG files are stored - e.g: `/icons` */ path?: string; /** The name of the SVG file - e.g: `home` */ name?: string; /** The size of the SVG file - e.g: `1em` */ size?: string; /** The title of the SVG file - e.g: `Home` */ title?: string; /** The function to transform the source of the SVG file - e.g: `(svg) => svg` */ transformSource?: (svg: SVGElement) => SVGElement; } declare const _default: import('vue').DefineComponent<MazIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & { error: (error: Error) => any; loaded: (svg: SVGElement | undefined) => any; unloaded: () => any; }, string, import('vue').PublicProps, Readonly<MazIconProps> & Readonly<{ onError?: ((error: Error) => any) | undefined; onLoaded?: ((svg: SVGElement | undefined) => any) | undefined; onUnloaded?: (() => any) | undefined; }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, { svgElem: SVGSVGElement; }, any>; export default _default;