summaryrefslogtreecommitdiff
path: root/frontend/src/components/experiments/NewExperimentButtonComponent.js
blob: 2902825d20c2cec8fa0c6d926c22356c11666d6e (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