@sorens/artist-svelte
Version:
an opinionated and clean UI framework for SvelteKit with theme support built-in
35 lines (34 loc) • 1.03 kB
TypeScript
import { SvelteComponentTyped } from "svelte";
import type { useAction } from '../../types/global';
import type { ColorProp, RtlProp, VariantProp } from '../../types/components/props';
declare const __propDef: {
props: {
color?: ColorProp;
variant?: VariantProp;
rtl?: RtlProp;
shadow?: boolean;
useAction?: useAction<HTMLElement>;
class?: string | undefined;
};
events: {
click: MouseEvent;
dblclick: MouseEvent;
mouseenter: MouseEvent;
mouseleave: MouseEvent;
mouseover: MouseEvent;
focus: FocusEvent;
} & {
[evt: string]: CustomEvent<any>;
};
slots: {
SvgIcon: {};
title: {};
default: {};
};
};
export declare type AlertProps = typeof __propDef.props;
export declare type AlertEvents = typeof __propDef.events;
export declare type AlertSlots = typeof __propDef.slots;
export default class Alert extends SvelteComponentTyped<AlertProps, AlertEvents, AlertSlots> {
}
export {};