@hhgtech/hhg-components
Version:
Hello Health Group common components
19 lines (18 loc) • 641 B
TypeScript
import React, { FC } from 'react';
export type DrawerComponentProps = {
modal?: boolean;
defaultOpen?: boolean;
open?: boolean;
onOpenChange?: (open: boolean) => void;
children?: React.ReactNode;
container?: HTMLElement | null;
snapPoints?: (number | string)[];
activeSnapPoint?: number | string | null;
setActiveSnapPoint?: (snapPoint: number | string | null) => void;
onAnimationEnd?: (open: boolean) => void;
fadeFromIndex?: number;
className?: string;
overlayClassName?: string;
};
declare const DrawerComponent: FC<DrawerComponentProps>;
export { DrawerComponent };