@dcodegroup-au/dsg-vue
Version:
Front-end Vue/Tailwind DSG for UntitledUI.
37 lines (36 loc) • 1.46 kB
TypeScript
/**
* ------------------------------------------------
* # Setup: Props
* ------------------------------------------------
*/
export type DsgLinkTargetUri = '_blank' | '_self' | '_parent' | '_top' | 'framename';
export type DsgLinkSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'display-xs' | 'display-sm' | 'display-md' | 'display-lg' | 'display-xl' | 'display-2xl';
export interface DsgLinkProps {
label?: string;
href: string;
uriTarget?: DsgLinkTargetUri;
size?: DsgLinkSize;
classes?: string;
preventDefault?: boolean;
}
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
'dsg-link-content'?(_: {}): any;
};
refs: {};
rootEl: HTMLAnchorElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<DsgLinkProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
"link-clicked": (clickEvent: Event) => any;
}, string, import('vue').PublicProps, Readonly<DsgLinkProps> & Readonly<{
"onLink-clicked"?: ((clickEvent: Event) => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLAnchorElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};