chore: moving file structure of components
This commit is contained in:
23
src/components/SignOut.js
Normal file
23
src/components/SignOut.js
Normal file
@@ -0,0 +1,23 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user