summaryrefslogtreecommitdiff
path: root/frontend/src/components/projects/NewProjectButtonComponent.js
blob: 3ddef5e5bc1f33bb67dbe5707444735aae8737cf (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 NewProjectButtonComponent = ({ onClick }) => (
    <div className="bottom-btn-container">
        <div className="btn btn-primary float-right" onClick={onClick}>
            <span className="fa fa-plus mr-2"/>
            New Project
        </div>
    </div>
)

NewProjectButtonComponent.propTypes = {
    onClick: PropTypes.func.isRequired,
}

export default NewProjectButtonComponent