import styles from "./index.module.scss"; interface EmptyResult { className?: string; icon?: string; title?: string; desc?: string; children?: JSX.Element; } export default function EmptyResult(props: EmptyResult) { const { icon, title, desc, children } = props; return (
{icon ? ( ) : null} {title ?

{title}

: null} {desc ?

{desc}

: null} {children}
); }