import React from 'react'; import { Box } from '@material-ui/core'; import InfoRoundedIcon from '@material-ui/icons/InfoRounded'; import { makeStyles } from '@material-ui/styles'; import PropTypes from 'prop-types'; const useStyles = makeStyles((theme)=>({ root: { color: theme.palette.text.primary, margin: '24px auto 12px', fontSize: '0.8rem', display: 'flex', alignItems: 'center', justifyContent: 'center', height: '100%', }, })); export default function EmptyPanelMessage({text, style}) { const classes = useStyles(); return ( {text} ); } EmptyPanelMessage.propTypes = { text: PropTypes.string, style: PropTypes.object, };