From 1d9cb45733305840df84c459e34b5f8104e3aa16 Mon Sep 17 00:00:00 2001 From: Arik Chakma Date: Wed, 29 Mar 2023 22:24:11 +0600 Subject: [PATCH] refactor: github and google button --- src/components/Login/LoginComponent.tsx | 27 ++++++++++++++----------- 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/src/components/Login/LoginComponent.tsx b/src/components/Login/LoginComponent.tsx index 61863d285..3b3d4e70b 100644 --- a/src/components/Login/LoginComponent.tsx +++ b/src/components/Login/LoginComponent.tsx @@ -4,12 +4,8 @@ export default function LoginComponent() { return (
- - + +
@@ -23,15 +19,22 @@ export default function LoginComponent() { ); } -const Button: FunctionComponent<{ className?: string }> = ({ - children, +export const GithubLoginButton: FunctionComponent<{ className?: string }> = ({ className, }) => { return ( - + ); +}; + +export const GoogleLoginButton: FunctionComponent<{ className?: string }> = ({ + className, +}) => { + return ( + ); };