UNPKG

scratch-gui

Version:

GraphicaL User Interface for creating and running Scratch 3.0 projects

24 lines (19 loc) 486 B
import React from 'react'; import Box from '../box/box.jsx'; import Selector from './selector.jsx'; import styles from './asset-panel.css'; const AssetPanel = props => ( <Box className={styles.wrapper}> <Selector className={styles.selector} {...props} /> <Box className={styles.detailArea}> {props.children} </Box> </Box> ); AssetPanel.propTypes = { ...Selector.propTypes }; export default AssetPanel;