UNPKG

@vela-ui/react

Version:

Vela UI React components

18 lines (15 loc) 1.33 kB
import * as react_jsx_runtime from 'react/jsx-runtime'; import { Button, Dialog as Dialog$1, Text, Heading, DialogTrigger as DialogTrigger$1 } from 'react-aria-components'; import { ModalContentProps } from './modal.js'; import 'tailwind-variants'; declare const DialogTrigger: typeof DialogTrigger$1; declare const Dialog: (props: ModalContentProps) => react_jsx_runtime.JSX.Element; declare const DialogContent: ({ role, className, children, showCloseButton, ...props }: React.ComponentProps<typeof Dialog$1> & { showCloseButton?: boolean; }) => react_jsx_runtime.JSX.Element; declare const DialogHeader: ({ className, ...props }: React.ComponentProps<"div">) => react_jsx_runtime.JSX.Element; declare const DialogFooter: ({ className, ...props }: React.ComponentProps<"div">) => react_jsx_runtime.JSX.Element; declare const DialogTitle: ({ className, ...props }: React.ComponentProps<typeof Heading>) => react_jsx_runtime.JSX.Element; declare const DialogDescription: ({ className, ...props }: React.ComponentProps<typeof Text>) => react_jsx_runtime.JSX.Element; declare const DialogCloseIcon: ({ className, ...props }: React.ComponentProps<typeof Button>) => react_jsx_runtime.JSX.Element; export { Dialog, DialogCloseIcon, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger };