import { CSSProperties } from 'react'; import EmptyImage from '../../../assets/images/empty.svg?react'; import { cx } from '../../utils/styleUtils'; import style from './Empty.module.scss'; interface EmptyProps { text?: string; style?: CSSProperties; className?: string; } export default function Empty(props: EmptyProps) { const { text, className, ...rest } = props; return (
{text && {text}}
); }