import { ReactNode } from 'react'; import { CSSTransition } from 'react-transition-group'; import { AnimationTimeout } from '../../config'; import styles from './EmptyContent.module.scss'; type Props = { title?: string; children?: ReactNode; isVisible: boolean; description?: string; }; const EmptyContent = ({ title, children, isVisible, description }: Props) => (
{title &&

{title}

} {description &&

{description}

} {children}
); export { EmptyContent };