@svelte-put/modal
Version:
25 lines • 807 B
TypeScript
import { SvelteComponentTyped } from "svelte";
import type { createModalStore } from './modal';
declare const __propDef: {
props: {
[x: string]: any;
store: ReturnType<typeof createModalStore>;
};
events: {
[evt: string]: CustomEvent<any>;
};
slots: {};
};
export type ModalPortalProps = typeof __propDef.props;
export type ModalPortalEvents = typeof __propDef.events;
export type ModalPortalSlots = typeof __propDef.slots;
/**
* Register this 'portal' where you want to render the modal stack, ideally as
* the direct descendant of the root element of your app.
*
* @public
*/
export default class ModalPortal extends SvelteComponentTyped<ModalPortalProps, ModalPortalEvents, ModalPortalSlots> {
}
export {};
//# sourceMappingURL=ModalPortal.svelte.d.ts.map