blob: 468f7678fc12aa468725eb20304f7f42eb208b5c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import PropTypes from 'prop-types';
import React from 'react';
import './NewSimulationButton.css';
const NewSimulationButton = ({onClick}) => (
<div className="new-simulation-btn" onClick={onClick}>
<span className="fa fa-plus"/>
New Simulation
</div>
);
NewSimulationButton.propTypes = {
onClick: PropTypes.func.isRequired,
};
export default NewSimulationButton;
|