UNPKG

pyro

Version:
38 lines (37 loc) 978 B
import { DefineComponent } from 'vue'; import { HTMLAttributes } from 'svelte/elements'; export interface DialogProps { /** Indicates whether the dialog is open */ open?: boolean; /** Contents */ children?: any; } declare module 'vue' { interface GlobalComponents { 'pyro-dialog': DefineComponent<DialogProps>; } } interface PyroDialogPreact extends Omit<JSX.HTMLAttributes, keyof DialogProps>, DialogProps { } declare module 'preact/jsx-runtime' { namespace JSX { interface IntrinsicElements { 'pyro-dialog': PyroDialogPreact; } } } interface PyroDialogSvelte extends Omit<HTMLAttributes<any>, keyof DialogProps>, DialogProps { } declare module 'svelte/elements' { interface SvelteHTMLElements { 'pyro-dialog': PyroDialogSvelte; } } declare module 'solid-js' { namespace JSX { interface IntrinsicElements { 'pyro-dialog': PyroDialogPreact; } } } export {};