summaryrefslogtreecommitdiff
path: root/src/components/experiments/NewExperimentButtonComponent.js
blob: 559a7218bf460c3f52831d994ea208564e91ceb2 (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;