p5.js-web-editor/client/components/mobile/MobileScreen.jsx

14 lines
251 B
React
Raw Normal View History

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;