19 lines
No EOL
403 B
JavaScript
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; |