UNPKG

@szum-tech/design-system

Version:

Szum-Tech design system with tailwindcss support

42 lines (30 loc) 2.44 kB
import * as react_jsx_runtime from 'react/jsx-runtime'; import * as React from 'react'; import { Dialog as Dialog$1 } from 'radix-ui'; import { VariantProps } from 'class-variance-authority'; import * as class_variance_authority_types from 'class-variance-authority/types'; type DialogProps = React.ComponentProps<typeof Dialog$1.Root>; declare function Dialog(props: DialogProps): react_jsx_runtime.JSX.Element; type DialogCloseProps = React.ComponentProps<typeof Dialog$1.Close>; declare function DialogClose(props: DialogCloseProps): react_jsx_runtime.JSX.Element; type DialogContentProps = React.ComponentProps<typeof Dialog$1.Content> & { width?: DialogContentWidth; showCloseButton?: boolean; }; declare function DialogContent({ className, children, width, showCloseButton, ...props }: DialogContentProps): react_jsx_runtime.JSX.Element; declare const dialogContentVariants: (props?: ({ width?: "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "full" | null | undefined; } & class_variance_authority_types.ClassProp) | undefined) => string; type DialogContentCvaProps = VariantProps<typeof dialogContentVariants>; type DialogContentWidth = NonNullable<DialogContentCvaProps["width"]>; type DialogTriggerProps = React.ComponentProps<typeof Dialog$1.Trigger>; declare function DialogTrigger({ ...props }: DialogTriggerProps): react_jsx_runtime.JSX.Element; type DialogHeaderProps = React.ComponentProps<"div">; declare function DialogHeader({ className, ...props }: DialogHeaderProps): react_jsx_runtime.JSX.Element; type DialogFooterProps = React.ComponentProps<"div">; declare function DialogFooter({ className, ...props }: DialogFooterProps): react_jsx_runtime.JSX.Element; type DialogTitleProps = React.ComponentProps<typeof Dialog$1.Title>; declare function DialogTitle({ className, ...props }: DialogTitleProps): react_jsx_runtime.JSX.Element; type DialogDescriptionProps = React.ComponentProps<typeof Dialog$1.Description>; declare function DialogDescription({ className, ...props }: DialogDescriptionProps): react_jsx_runtime.JSX.Element; export { Dialog, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, type DialogContentWidth, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, type DialogProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps };