@sorens/artist-svelte
Version:
an opinionated and clean UI framework for SvelteKit with theme support built-in
36 lines (35 loc) • 1.12 kB
TypeScript
import { SvelteComponentTyped } from "svelte";
import type { AnchorRelProp, AnchorTargetProp, ColorProp } from '../../types/components/props';
import type { useAction } from '../../types/global';
declare const __propDef: {
props: {
[x: string]: any;
active?: boolean;
truncate?: boolean;
rel?: AnchorRelProp | string | undefined;
target?: AnchorTargetProp | undefined;
color?: ColorProp;
useAction?: useAction<HTMLElement>;
href: string;
class?: string | undefined;
};
events: {
click: MouseEvent;
dblclick: MouseEvent;
mouseenter: MouseEvent;
mouseleave: MouseEvent;
mouseover: MouseEvent;
focus: FocusEvent;
} & {
[evt: string]: CustomEvent<any>;
};
slots: {
default: {};
};
};
export declare type LinkProps = typeof __propDef.props;
export declare type LinkEvents = typeof __propDef.events;
export declare type LinkSlots = typeof __propDef.slots;
export default class Link extends SvelteComponentTyped<LinkProps, LinkEvents, LinkSlots> {
}
export {};