UNPKG

@sjsf/shadcn4-theme

Version:

The shadcn-svelte based theme for svelte-jsonschema-form

14 lines (13 loc) 642 B
import { Dialog as DialogPrimitive } from "bits-ui"; import DialogPortal from "./dialog-portal.svelte"; import type { Snippet } from "svelte"; import { type WithoutChildrenOrChild } from "../../../utils.js"; import type { ComponentProps } from "svelte"; type $$ComponentProps = WithoutChildrenOrChild<DialogPrimitive.ContentProps> & { portalProps?: WithoutChildrenOrChild<ComponentProps<typeof DialogPortal>>; children: Snippet; showCloseButton?: boolean; }; declare const DialogContent: import("svelte").Component<$$ComponentProps, {}, "ref">; type DialogContent = ReturnType<typeof DialogContent>; export default DialogContent;