import { Dialog as RadixDialog } from "radix-ui"; import * as React from "react"; interface DrawerRootProps extends React.ComponentPropsWithoutRef { } interface DrawerTriggerProps extends React.ComponentPropsWithoutRef { } interface DrawerCloseProps extends React.ComponentPropsWithoutRef { } interface DrawerPortalProps extends RadixDialog.DialogPortalProps { } /** * The `Drawer.Content` component uses this component to wrap the drawer content. * It accepts props from the [Radix UI Dialog Portal](https://www.radix-ui.com/primitives/docs/components/dialog#portal) component. */ declare const DrawerPortal: { (props: DrawerPortalProps): React.JSX.Element; displayName: string; }; interface DrawerOverlayProps extends React.ComponentPropsWithoutRef { } /** * This component is used to create the overlay for the drawer. * It accepts props from the [Radix UI Dialog Overlay](https://www.radix-ui.com/primitives/docs/components/dialog#overlay) component. */ declare const DrawerOverlay: React.ForwardRefExoticComponent>; interface DrawerContentProps extends React.ComponentPropsWithoutRef { /** * Props for the overlay component. * It accepts props from the [Radix UI Dialog Overlay](https://www.radix-ui.com/primitives/docs/components/dialog#overlay) component. */ overlayProps?: React.ComponentPropsWithoutRef; /** * Props for the portal component that wraps the drawer content. * It accepts props from the [Radix UI Dialog Portal](https://www.radix-ui.com/primitives/docs/components/dialog#portal) component. */ portalProps?: React.ComponentPropsWithoutRef; } interface DrawerHeaderProps extends React.ComponentPropsWithoutRef<"div"> { } interface DrawerBodyProps extends React.ComponentPropsWithoutRef<"div"> { } interface DrawerFooterProps extends React.HTMLAttributes { } interface DrawerDescriptionProps extends React.ComponentPropsWithoutRef { } declare const Drawer: { (props: DrawerRootProps): React.JSX.Element; displayName: string; } & { Body: React.ForwardRefExoticComponent>; Close: React.ForwardRefExoticComponent>; Content: React.ForwardRefExoticComponent>; Description: React.ForwardRefExoticComponent>; Footer: { ({ className, ...props }: DrawerFooterProps): React.JSX.Element; displayName: string; }; Header: React.ForwardRefExoticComponent>; Title: React.ForwardRefExoticComponent>; Trigger: React.ForwardRefExoticComponent>; }; export { Drawer }; //# sourceMappingURL=drawer.d.ts.map