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

24 lines
463 B
JavaScript

import React from "react"
import { compose } from "recompose"
import { withTheme } from "emotion-theming"
import { Button } from "components/elements"
import { withFirebase } from "components/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)