add border

This commit is contained in:
casperlamboo 2017-11-12 01:41:09 +01:00
parent 40d505d754
commit 9f49bb7b8c

View File

@ -12,8 +12,12 @@ const downloadGCode = gcode => {
const jsonLoader = new THREE.JSONLoader();
jsonLoader.load(fileURL, geometry => {
render(<Interface
render((
<div style={{ position: 'absolute', border: '1px solid black' }}>
<Interface
geometry={geometry}
onCompleteActions={[{ title: 'Download', callback: downloadGCode }]}
/>, document.getElementById('app'));
/>
</div>
), document.getElementById('app'));
});