summaryrefslogtreecommitdiff
path: root/src/components/experiments/NewExperimentButtonComponent.js
blob: 651172e31ed8089e713072be27fc12914f34d756 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import PropTypes from "prop-types";
import React from "react";

const NewExperimentButtonComponent = ({ onClick }) => (
  <div className="bottom-btn-container">
    <div className="btn btn-primary float-right" onClick={onClick}>
      <span className="fa fa-plus mr-2" />
      New Experiment
    </div>
  </div>
);

NewExperimentButtonComponent.propTypes = {
  onClick: PropTypes.func.isRequired
};

export default NewExperimentButtonComponent;