import React from 'react'; import { Icon } from 'UI'; import styles from './noContent.module.css'; interface Props { title?: any; subtext?: any; icon?: string; iconSize?: number; size?: string; show?: boolean; children?: any; image?: any; style?: any; } export default function NoContent(props: Props) { const { title = '', subtext = '', icon, iconSize, size, show, children, image, style } = props; return !show ? ( children ) : (