p5.js-web-editor/client/components/mobile/MobileScreen.jsx
2020-06-16 17:38:43 -03:00

13 lines
251 B
JavaScript

import React from 'react';
import PropTypes from 'prop-types';
const Screen = ({ children }) => (
<div className="fullscreen-preview">
{children}
</div>
);
Screen.propTypes = {
children: PropTypes.node.isRequired
};
export default Screen;