scratch-www/src/views/preview/preview.jsx

23 lines
554 B
React
Raw Normal View History

2018-02-20 17:04:45 -05:00
const React = require('react');
const render = require('../../lib/render.jsx');
require('./preview.css');
const GUI = require('scratch-gui').default;
class Preview extends React.Component {
componentDidMount () {
// handle project id in URI
}
render () {
return (
// will need a container to set 'dir' attribute RTL if lang is rtl.
<GUI
className="gui"
previewInfoVisible="false"
/>
);
}
}
render(<Preview />, document.getElementById('app'));