We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0c534f commit 0a858e7Copy full SHA for 0a858e7
packages/icons/src/Icon.tsx
@@ -58,12 +58,11 @@ export const Icon = React.forwardRef(function Icon(
58
{...rest}
59
style={{
60
maskImage: `url(${url})`,
61
- //@ts-ignore // For compatibility with older browsers
62
- '-webkit-mask-image': `url(${url})`,
+ WebkitMaskImage: `url(${url})`,
63
maskRepeat: 'no-repeat',
64
- '-webkit-mask-repeat': 'no-repeat',
+ WebkitMaskRepeat: 'no-repeat',
65
maskPosition: 'center',
66
- '-webkit-mask-position': 'center',
+ WebkitMaskPosition: 'center',
67
...(size ? { width: size, height: size } : {}),
68
...rest.style,
69
}}
0 commit comments