@synergy-design-system/vue
Version:
Vue3 wrappers for the Synergy Design System
44 lines (43 loc) • 1.52 kB
TypeScript
import { SynBreadcrumbItem } from '@synergy-design-system/components';
type __VLS_Props = {
/**
* Optional URL to direct the user to when the breadcrumb item is activated.
* When set, a link will be rendered
internally.
* When unset, a button will be rendered instead.
*/
href?: SynBreadcrumbItem['href'];
/**
* Tells the browser where to open the link.
* Only used when `href` is set.
*/
target?: SynBreadcrumbItem['target'];
/**
* The `rel` attribute to use on the link.
* Only used when `href` is set.
*/
rel?: SynBreadcrumbItem['rel'];
};
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {}): any;
};
refs: {
nativeElement: unknown;
};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
nativeElement: import('vue').Ref<SynBreadcrumbItem | undefined, SynBreadcrumbItem | undefined>;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
nativeElement: unknown;
}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};