UNPKG

maz-ui

Version:

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

81 lines (80 loc) 2.7 kB
import { type PropType } from 'vue'; declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ /** The source path of the SVG file - e.g: `/icons/home.svg` */ src: { type: StringConstructor; default: undefined; }; /** The path of the folder where the SVG files are stored - e.g: `/icons` */ path: { type: StringConstructor; default: undefined; }; /** The name of the SVG file - e.g: `home` */ name: { type: StringConstructor; default: undefined; }; /** The size of the SVG file - e.g: `1em` */ size: { type: StringConstructor; default: undefined; }; /** The title of the SVG file - e.g: `Home` */ title: { type: StringConstructor; default: undefined; }; /** The function to transform the source of the SVG file - e.g: `(svg) => svg` */ transformSource: { type: PropType<(param: SVGElement) => typeof param>; default: (svg: SVGElement) => SVGElement; }; }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { error: (error: Error) => any; loaded: (svg: SVGElement | undefined) => any; unloaded: () => any; }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ /** The source path of the SVG file - e.g: `/icons/home.svg` */ src: { type: StringConstructor; default: undefined; }; /** The path of the folder where the SVG files are stored - e.g: `/icons` */ path: { type: StringConstructor; default: undefined; }; /** The name of the SVG file - e.g: `home` */ name: { type: StringConstructor; default: undefined; }; /** The size of the SVG file - e.g: `1em` */ size: { type: StringConstructor; default: undefined; }; /** The title of the SVG file - e.g: `Home` */ title: { type: StringConstructor; default: undefined; }; /** The function to transform the source of the SVG file - e.g: `(svg) => svg` */ transformSource: { type: PropType<(param: SVGElement) => typeof param>; default: (svg: SVGElement) => SVGElement; }; }>> & Readonly<{ onError?: ((error: Error) => any) | undefined; onLoaded?: ((svg: SVGElement | undefined) => any) | undefined; onUnloaded?: (() => any) | undefined; }>, { title: string; path: string; size: string; src: string; name: string; transformSource: (param: SVGElement) => typeof param; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default;