UNPKG

m3-svelte

Version:

M3 Svelte implements the Material 3 design system in Svelte. See the [website](https://ktibow.github.io/m3-svelte/) for demos and usage instructions.

43 lines (42 loc) 1.43 kB
import type { IconifyIcon } from "@iconify/types"; import type { HTMLDialogAttributes } from "svelte/elements"; interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> { new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & { $$bindings?: Bindings; } & Exports; (internal: unknown, props: Props & { $$events?: Events; $$slots?: Slots; }): Exports & { $set?: any; $on?: any; }; z_$$bindings?: Bindings; } type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends { default: any; } ? Props extends Record<string, never> ? any : { children?: any; } : {}); declare const Dialog: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{ display?: string; extraOptions?: HTMLDialogAttributes; icon?: IconifyIcon | undefined; headline: string; open: boolean; closeOnEsc?: boolean; closeOnClick?: boolean; }, { default: {}; buttons: {}; }>, { closedByEsc: CustomEvent<any>; closedByClick: CustomEvent<any>; } & { [evt: string]: CustomEvent<any>; }, { default: {}; buttons: {}; }, {}, string>; type Dialog = InstanceType<typeof Dialog>; export default Dialog;