16 lines
339 B
JavaScript
16 lines
339 B
JavaScript
import React from 'react'
|
|
import PropTypes from 'prop-types'
|
|
import Button from '@material-ui/core/Button'
|
|
|
|
export const LoggedOut = ({ auth }) => (
|
|
<div onClick={() => auth.login()}>
|
|
<Button color='inherit'>Login / Sign up</Button>
|
|
</div>
|
|
)
|
|
|
|
LoggedOut.propTypes = {
|
|
auth: PropTypes.object.isRequired
|
|
}
|
|
|
|
export default LoggedOut
|