[WEB-4561] fix: SVG attributes in react components (#7470)

* chore: svg attribute fix (#7446)

* fix: replace invalid --env-file with dotenv-cli for tsup onSuccess

* fix: replace invalid --env-file usage in start script and move dotenv-cli to dependencies

* chor: update SVG attributes to camelCase for JSX compatibility

* chor: update SVG attributes to camelCase

* fix: removed dontenv-cli

* fix: svg attibute fixes

* chore: minor attribute customizations

---------

Co-authored-by: Donal Noye <68372408+Donal-Noye@users.noreply.github.com>
This commit is contained in:
sriram veeraghanta 2025-07-24 14:46:55 +05:30 committed by GitHub
parent 008727d393
commit 2746bad86b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 84 additions and 78 deletions

View file

@ -11,7 +11,7 @@ export const DiscordIcon: React.FC<ISvgIcons> = ({ width = "24", height = "24",
fill="currentColor"
xmlns="http://www.w3.org/2000/svg"
>
<g clip-path="url(#clip0_4112_17440)">
<g clipPath="url(#clip0_4112_17440)">
<mask id="mask0_4112_17440" maskUnits="userSpaceOnUse" x="0" y="0" width={width} height={height}>
<path d="M24 0H0V24H24V0Z" fill="white" />
</mask>