@synergy-design-system/vue
Version:
Vue3 wrappers for the Synergy Design System
60 lines (59 loc) • 2.27 kB
TypeScript
import { SynLoadEvent, SynErrorEvent } from '@synergy-design-system/components';
import { default as SynIcon } from '@synergy-design-system/components/components/icon/icon.component.js';
export type { SynLoadEvent } from '@synergy-design-system/components';
export type { SynErrorEvent } from '@synergy-design-system/components';
declare const _default: typeof __VLS_export;
export default _default;
declare const __VLS_export: import('vue').DefineComponent<{
/**
* The name of the icon to draw.
* Available names depend on the icon library being used.
*/
name?: SynIcon["name"];
/**
* An external URL of an SVG file.
* Be sure you trust the content you are including, as it will be executed as code and
can result in XSS attacks.
*/
src?: SynIcon["src"];
/**
* An alternate description to use for assistive devices.
* If omitted, the icon will be considered presentational and
ignored by assistive devices.
*/
label?: SynIcon["label"];
/**
* The name of a registered custom icon library.
*/
library?: SynIcon["library"];
}, {
nativeElement: import('vue').Ref<SynIcon | undefined, SynIcon | undefined>;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
"syn-error": (e: SynErrorEvent) => any;
"syn-load": (e: SynLoadEvent) => any;
}, string, import('vue').PublicProps, Readonly<{
/**
* The name of the icon to draw.
* Available names depend on the icon library being used.
*/
name?: SynIcon["name"];
/**
* An external URL of an SVG file.
* Be sure you trust the content you are including, as it will be executed as code and
can result in XSS attacks.
*/
src?: SynIcon["src"];
/**
* An alternate description to use for assistive devices.
* If omitted, the icon will be considered presentational and
ignored by assistive devices.
*/
label?: SynIcon["label"];
/**
* The name of a registered custom icon library.
*/
library?: SynIcon["library"];
}> & Readonly<{
"onSyn-error"?: ((e: SynErrorEvent) => any) | undefined;
"onSyn-load"?: ((e: SynLoadEvent) => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;