mirror of
https://github.com/rjNemo/MERN_sample_app
synced 2026-06-10 02:26:41 +00:00
9 lines
268 B
JavaScript
9 lines
268 B
JavaScript
import React from "react";
|
|
import { Button } from "reactstrap";
|
|
import { useFirebase } from "../../services/auth";
|
|
|
|
const SignOutButton = () => {
|
|
const auth = useFirebase();
|
|
return <Button onClick={auth.signOut}>Sign Out</Button>;
|
|
};
|
|
export default SignOutButton;
|