UNPKG

svelte-ux

Version:

A large collection of Svelte components, actions, stores and utils to simplify creating highly interactive and visual applications. Built using Tailwind with extensibility and customization in mind.

44 lines (43 loc) 1.46 kB
import { SvelteComponentTyped } from "svelte"; import { type ComponentProps } from 'svelte'; import { type ThemeColors } from '@layerstack/tailwind'; import Icon from './Icon.svelte'; declare const __propDef: { props: { [x: string]: any; title?: string | undefined | undefined; description?: string | undefined | undefined; icon?: string | undefined | undefined; actions?: Record<string, Function> | undefined; color?: ThemeColors | undefined; variant?: "default" | "fill" | undefined; actionsPlacement?: "inline" | "below" | "split" | undefined; open?: boolean | undefined; closeIcon?: boolean | undefined; classes?: { root?: string; title?: string; description?: string; icon?: ComponentProps<Icon>["classes"]; actions?: string; } | undefined; }; events: { keypress: KeyboardEvent; close: CustomEvent<any>; } & { [evt: string]: CustomEvent<any>; }; slots: { icon: {}; title: {}; description: {}; actions: {}; }; }; export type NotificationProps = typeof __propDef.props; export type NotificationEvents = typeof __propDef.events; export type NotificationSlots = typeof __propDef.slots; export default class Notification extends SvelteComponentTyped<NotificationProps, NotificationEvents, NotificationSlots> { } export {};