@hhgtech/hhg-components
Version:
Hello Health Group common components
16 lines (15 loc) • 740 B
TypeScript
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;