import React from 'react';
import PropTypes from 'prop-types';
import { mediaUrl } from '../utils/constants';
import '../css/empty-tip.css';
function EmptyTip({ forDialog, className, title, text, children }) {
return (

{title &&
{title}}
{text &&
{text}}
{children}
);
}
EmptyTip.propTypes = {
forDialog: PropTypes.bool,
className: PropTypes.string,
title: PropTypes.string,
text: PropTypes.string,
children: PropTypes.any,
};
export default EmptyTip;