Skip to content

Commit 0ee03eb

Browse files
committed
feat(react): 💄 add unique class names for social login buttons
1 parent 2d6f39b commit 0ee03eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/react/src/components/SignIn/fragments/LoginOptionsBox.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ const LoginOptionsBox = ({
5353
handleOnClick,
5454
}: LoginOptionsBoxProps): ReactElement => (
5555
<UISignIn.Button
56+
className={`login-options-btn-${socialName.toLowerCase()}`}
5657
social
5758
startIcon={<img className="social-login-img" src={images[socialName]} alt={socialName} />}
5859
onClick={handleOnClick}

0 commit comments

Comments
 (0)