import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import { withStyles } from '@material-ui/core/styles';
import { Paper, Typography } from '@material-ui/core';
import styles from './papperStyle-jss';
function PaperSheet(props) {
const {
classes,
title,
desc,
children,
whiteBg,
noMargin,
colorMode,
overflowX
} = props;
return (
);
}
PaperSheet.propTypes = {
classes: PropTypes.object.isRequired,
title: PropTypes.string.isRequired,
desc: PropTypes.string.isRequired,
children: PropTypes.node.isRequired,
whiteBg: PropTypes.bool,
colorMode: PropTypes.bool,
noMargin: PropTypes.bool,
overflowX: PropTypes.bool,
};
PaperSheet.defaultProps = {
whiteBg: false,
noMargin: false,
colorMode: false,
overflowX: false
};
export default withStyles(styles)(PaperSheet);