import { CSSTransition } from 'react-transition-group'; import { IDrawerBackdrop } from '../types'; import { TransitionTimeOut } from '../constants'; const DrawerBackdrop: React.FC = ({ mask, maskClosable, visible, onClose, }) => { const onMaskClick = () => { if (mask && maskClosable) { onClose(); } }; return (
); }; export default DrawerBackdrop;