UNPKG

flowbite-svelte

Version:

Flowbite components for Svelte

29 lines (28 loc) 779 B
import type { DialogProps } from ".."; /** * [Go to docs](https://flowbite-svelte.com/) * ## Type * [DialogProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L601) * ## Props * @prop children * @prop onaction = () * @prop oncancel * @prop onsubmit * @prop ontoggle * @prop form = false * @prop modal = true * @prop autoclose = false * @prop focustrap = false * @prop open = $bindable(false) * @prop permanent = false * @prop dismissable = true * @prop outsideclose = true * @prop class: className * @prop classes * @prop transition = fade * @prop transitionParams * @prop ...restProps */ declare const Dialog: import("svelte").Component<DialogProps, {}, "open">; type Dialog = ReturnType<typeof Dialog>; export default Dialog;