scratch-gui
Version:
GraphicaL User Interface for creating and running Scratch 3.0 projects
23 lines (21 loc) • 498 B
JSX
import PropTypes from 'prop-types';
import React from 'react';
import Box from '../box/box.jsx';
import styles from './blocks.css';
const BlocksComponent = props => {
const {
componentRef,
...componentProps
} = props;
return (
<Box
className={styles.blocks}
componentRef={componentRef}
{...componentProps}
/>
);
};
BlocksComponent.propTypes = {
componentRef: PropTypes.func
};
export default BlocksComponent;