UNPKG

@easykit/design

Version:

Easy kit design components

18 lines (17 loc) 1.58 kB
import * as React from "react"; import * as DialogPrimitive from "@radix-ui/react-dialog"; declare function Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>): React.JSX.Element; declare function DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>): React.JSX.Element; declare function DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>): React.JSX.Element; declare function DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>): React.JSX.Element; declare function DialogOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>): React.JSX.Element; declare function DialogContent({ className, children, showClose, onCloseClick, onOverlayClick, ...props }: (React.ComponentProps<typeof DialogPrimitive.Content>) & { onOverlayClick?: () => void; showClose?: boolean; onCloseClick?: () => void; }): React.JSX.Element; declare function DialogHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element; declare function DialogFooter({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element; declare function DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>): React.JSX.Element; declare function DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>): React.JSX.Element; export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, };