UNPKG

@hhgtech/hhg-components

Version:
16 lines (15 loc) 740 B
import React, { PropsWithChildren } from 'react'; import { ModalProps } from '@mantine/core'; import { DialogProps } from 'vaul'; export type DrawerBottomProps = { isOpen: boolean; isMobile: boolean; onClose: () => void; overlayClassName?: string; contentClassName?: string; handlerClassName?: string; isLinear?: boolean; onOpenChange?: (isOpen: boolean) => void; } & Omit<ModalProps, 'opened'> & Omit<DialogProps, 'open'>; export declare function DrawerBottom({ children, onClose, isOpen, onOpenChange, isMobile, classNames, isLinear, overlayClassName, contentClassName, handlerClassName, ...restProps }: PropsWithChildren<DrawerBottomProps>): React.JSX.Element; export default DrawerBottom;