geist-ui-svelte
Version:
<img src="./src/lib/assets/demo-page.png">
34 lines (33 loc) • 979 B
TypeScript
import { SvelteComponent } from "svelte";
declare const __propDef: {
props: {
ariaLabel?: string;
visible?: boolean;
/** Customize the width of the modal here
*
* ```svelte
* <Modal ... class="h-3/4 sm:w-[640px] sm:h-[522px]"/>
* ```
*/ class?: string;
};
events: {
opened: CustomEvent<any>;
closed: CustomEvent<any>;
} & {
[evt: string]: CustomEvent<any>;
};
slots: {
default: {};
};
};
export type ModalProps = typeof __propDef.props;
export type ModalEvents = typeof __propDef.events;
export type ModalSlots = typeof __propDef.slots;
/**
* Shows a popup and fades the background.
*
* [See Docs](https://geist-ui-svelte.dev/components/modal) | [Open Issue](https://github.com/ieedan/geist-ui-svelte/issues/new)
*/
export default class Modal extends SvelteComponent<ModalProps, ModalEvents, ModalSlots> {
}
export {};