UNPKG

fluent-svelte-updated

Version:

Forked from https://github.com/vegardlarsen/fluent-svelte. A faithful implementation of Microsoft's Fluent Design System in Svelte.

51 lines (50 loc) 1.58 kB
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 ContentDialog: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{ [x: string]: any; open?: boolean; title?: string; size?: "standard" | "max" | "min"; closable?: boolean; append?: HTMLElement; darken?: boolean; trapFocus?: boolean; class?: string; element?: HTMLElement; backdropElement?: HTMLElement; bodyElement?: HTMLElement; footerElement?: HTMLElement; }, { default: {}; footer: {}; outer: {}; }>, { close: CustomEvent<any>; open: CustomEvent<any>; backdropclick: CustomEvent<any>; backdropmousedown: CustomEvent<any>; } & { [evt: string]: CustomEvent<any>; }, { default: {}; footer: {}; outer: {}; }, {}, string>; type ContentDialog = InstanceType<typeof ContentDialog>; export default ContentDialog;