UNPKG

autumn-js

Version:
31 lines (28 loc) 2.08 kB
import * as react_jsx_runtime from 'react/jsx-runtime'; import * as React from 'react'; import * as DialogPrimitive from '@radix-ui/react-dialog'; declare const Dialog: typeof DialogPrimitive.Root; declare const DialogTrigger: typeof DialogPrimitive.Trigger; declare const DialogPortal: ({ children, ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>) => react_jsx_runtime.JSX.Element; declare const DialogClose: typeof DialogPrimitive.Close; type DialogOverlayRef = React.ElementRef<typeof DialogPrimitive.Overlay>; type DialogOverlayProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>; declare const DialogOverlay: React.ForwardRefExoticComponent<DialogOverlayProps & React.RefAttributes<DialogOverlayRef>>; type DialogContentRef = React.ElementRef<typeof DialogPrimitive.Content>; type DialogContentProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>; declare const DialogContent: React.ForwardRefExoticComponent<DialogContentProps & React.RefAttributes<DialogContentRef>>; declare const DialogHeader: { ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element; displayName: string; }; declare const DialogFooter: { ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element; displayName: string; }; type DialogTitleRef = React.ElementRef<typeof DialogPrimitive.Title>; type DialogTitleProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Title>; declare const DialogTitle: React.ForwardRefExoticComponent<DialogTitleProps & React.RefAttributes<DialogTitleRef>>; type DialogDescriptionRef = React.ElementRef<typeof DialogPrimitive.Description>; type DialogDescriptionProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Description>; declare const DialogDescription: React.ForwardRefExoticComponent<DialogDescriptionProps & React.RefAttributes<DialogDescriptionRef>>; export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };