Files
sol-journal/src/components/SignOut.js
2019-05-18 14:56:36 -06:00

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)