24 lines
447 B
JavaScript
24 lines
447 B
JavaScript
import React from "react"
|
|
import { compose } from "recompose"
|
|
import { withTheme } from "emotion-theming"
|
|
|
|
import { Button } from "../elements"
|
|
|
|
import { withFirebase } from "../firebase"
|
|
|
|
const SignOutButton = ({ firebase, theme }) => (
|
|
<Button
|
|
fontSize="small"
|
|
colors={theme.colors}
|
|
type="button"
|
|
onClick={firebase.doSignOut}
|
|
>
|
|
Sign Out
|
|
</Button>
|
|
)
|
|
|
|
export default compose(
|
|
withTheme,
|
|
withFirebase
|
|
)(SignOutButton)
|