We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9379fa9 commit 1a973b7Copy full SHA for 1a973b7
src/react-components/button-social.tsx
@@ -33,7 +33,9 @@ export const ButtonSocial = ({
33
...props
34
}: ButtonSocialProps): JSX.Element => {
35
const brandClass =
36
- brand !== "generic" ? `fa-brands fa-${brand}` : "fa-solid fa-layer-group"
+ brand !== "generic"
37
+ ? `fa-brands fa-${brand.split("-")[0]}`
38
+ : "fa-solid fa-layer-group"
39
return (
40
<div className={className}>
41
<button
0 commit comments