p5.js-web-editor/shared/components/Toolbar/Toolbar.jsx

19 lines
No EOL
403 B
JavaScript

import React from 'react';
var playUrl = require('../../../images/play.svg');
var logoUrl = require('../../../images/p5js-logo.svg');
class Toolbar extends React.Component {
render() {
return (
<div className="toolbar">
<img className="toolbar__logo" src={logoUrl}/>
<div className="toolbar__play-button">
<img src={playUrl}/>
</div>
</div>
);
}
}
export default Toolbar;