16 lines
380 B
React
16 lines
380 B
React
import React from 'react';
|
|
import PropTypes from 'prop-types';
|
|
|
|
import Dialog from '@material-ui/core/Dialog';
|
|
import withMobileDialog from '@material-ui/core/withMobileDialog';
|
|
|
|
const ResponsiveDialog = (props) => {
|
|
return <Dialog {...props}/>;
|
|
};
|
|
|
|
ResponsiveDialog.propTypes = {
|
|
fullScreen: PropTypes.bool.isRequired
|
|
};
|
|
|
|
export default withMobileDialog()(ResponsiveDialog);
|