github
210 of 278 branches covered (0.0%)
Branch coverage included in aggregate %.
1 of 13 new or added lines in 3 files covered. (7.69%)
7503 of 8816 relevant lines covered (85.11%)
3.98 hits per line
1 |
import { CustomLink } from '@deriv-com/components'; |
2✔ |
2 |
import { SocialIcons } from './footer-block'; |
2✔ |
3 |
|
2✔ |
4 |
export const SocialMediaSection = ({ |
2✔ |
5 |
socialButtons, |
× |
6 |
}: { |
× |
7 |
socialButtons: SocialIcons[];
|
× |
8 |
}) => { |
× |
9 |
return (
|
× |
10 |
<div className="flex gap-gap-lg max-lg:justify-center">
|
× |
11 |
{socialButtons.map((item) => ( |
× |
NEW
|
<CustomLink |
× |
NEW
|
href={item.href} |
× |
NEW
|
target="_blank"
|
× |
NEW
|
show_eu_modal={true}
|
× |
NEW
|
key={item.href} |
× |
NEW
|
> |
× |
18 |
{item.icon} |
× |
19 |
</CustomLink> |
× |
20 |
))} |
× |
21 |
</div> |
× |
22 |
); |
× |
23 |
}; |
× |