diff options
author | 2020-09-28 03:19:16 +0100 | |
---|---|---|
committer | 2020-09-28 03:19:16 +0100 | |
commit | f3a8d4995360aa7dc7fa07abd4eddf6d1d09854e (patch) | |
tree | e9f50e29c7d54faa7727e4e23d71ef93b078303b /src/components/OAuth2Button.tsx | |
parent | Refactor tag to separate component (diff) |
Add click action to button
Diffstat (limited to 'src/components/OAuth2Button.tsx')
-rw-r--r-- | src/components/OAuth2Button.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/OAuth2Button.tsx b/src/components/OAuth2Button.tsx index 537496b..9cd009a 100644 --- a/src/components/OAuth2Button.tsx +++ b/src/components/OAuth2Button.tsx @@ -33,7 +33,7 @@ span { `; function OAuth2Button() { - return <button css={buttonStyling}> + return <button onClick={() => alert("Clicked!")} css={buttonStyling}> <span css={{marginRight: "10px"}}><FontAwesomeIcon icon={faDiscord} css={{fontSize: "2em", marginTop: "3px"}}/></span> <span>Sign in with Discord</span> </button>; |