UNPKG

@sorens/artist-svelte

Version:

an opinionated and clean UI framework for SvelteKit with theme support built-in

44 lines (43 loc) 1.34 kB
import { SvelteComponentTyped } from "svelte"; import type { useAction } from '../../types/global'; import type { ColorProp, PositionProp, VariantProp } from '../../types/components/props'; declare const __propDef: { props: { color?: ColorProp | 'inherit'; variant?: Exclude<VariantProp, 'gradient'>; shadow?: boolean; overlayBlur?: boolean; overlay?: boolean; from?: PositionProp; fullWidth?: boolean; expanded?: 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: { trigger: {}; header: {}; default: { close: () => void; toggle: () => void; open: () => void; expaneded: boolean; }; }; }; export declare type DrawerProps = typeof __propDef.props; export declare type DrawerEvents = typeof __propDef.events; export declare type DrawerSlots = typeof __propDef.slots; export default class Drawer extends SvelteComponentTyped<DrawerProps, DrawerEvents, DrawerSlots> { } export {};