Skip to content

Commit 66742a5

Browse files
authored
rename svg react components attributes (gitcoinco#2221)
1 parent 68ca7a6 commit 66742a5

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

packages/common/src/icons/Dropdown.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ export function Dropdown(props: React.SVGProps<SVGSVGElement>) {
1818
transform={`rotate(${props.direction == "up" ? "180" : "0"})`}
1919
>
2020
<path
21-
fill-rule="evenodd"
22-
clip-rule="evenodd"
21+
fillRule="evenodd"
22+
clipRule="evenodd"
2323
d="M0.292893 0.292893C0.683417 -0.097631 1.31658 -0.097631 1.70711 0.292893L5 3.58579L8.29289 0.292893C8.68342 -0.0976311 9.31658 -0.0976311 9.70711 0.292893C10.0976 0.683417 10.0976 1.31658 9.70711 1.70711L5.70711 5.70711C5.31658 6.09763 4.68342 6.09763 4.29289 5.70711L0.292893 1.70711C-0.0976311 1.31658 -0.0976311 0.683418 0.292893 0.292893Z"
2424
fill="#111827"
2525
/>

packages/common/src/icons/Github.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ function Github() {
88
xmlns="http://www.w3.org/2000/svg"
99
>
1010
<path
11-
fill-rule="evenodd"
12-
clip-rule="evenodd"
11+
fillRule="evenodd"
12+
clipRule="evenodd"
1313
d="M8.75666 0.666626C6.71671 0.667684 4.74365 1.39019 3.19029 2.70496C1.63692 4.01973 0.604549 5.84102 0.27776 7.84317C-0.0490288 9.84532 0.351074 11.8978 1.40653 13.6335C2.462 15.3693 4.10398 16.6751 6.0389 17.3176C6.46577 17.3968 6.62656 17.1323 6.62656 16.9073C6.62656 16.6824 6.61802 16.0301 6.61517 15.3171C4.22468 15.8335 3.71955 14.3083 3.71955 14.3083C3.32968 13.3179 2.7662 13.0576 2.7662 13.0576C1.98645 12.5284 2.82455 12.5384 2.82455 12.5384C3.68825 12.5992 4.14216 13.4198 4.14216 13.4198C4.90769 14.7257 6.15273 14.3479 6.64221 14.1272C6.71904 13.574 6.94245 13.1977 7.18861 12.984C5.27906 12.769 3.27276 12.0361 3.27276 8.76221C3.26092 7.91314 3.5778 7.09204 4.15781 6.46879C4.06959 6.25374 3.77504 5.38504 4.24176 4.20508C4.24176 4.20508 4.96318 3.97588 6.60522 5.08086C8.01365 4.69788 9.49966 4.69788 10.9081 5.08086C12.5487 3.97588 13.2687 4.20508 13.2687 4.20508C13.7368 5.38221 13.4423 6.25091 13.3541 6.46879C13.9359 7.09214 14.2535 7.91467 14.2405 8.76504C14.2405 12.046 12.23 12.769 10.3176 12.9798C10.6249 13.2458 10.8996 13.765 10.8996 14.563C10.8996 15.7061 10.8896 16.6258 10.8896 16.9073C10.8896 17.1351 11.0447 17.4011 11.4801 17.3176C13.4152 16.6751 15.0574 15.369 16.1128 13.6329C17.1683 11.8969 17.5682 9.84411 17.241 7.84178C16.9138 5.83944 15.881 4.01813 14.3271 2.70359C12.7732 1.38905 10.7997 0.667014 8.7595 0.666626H8.75666Z"
1414
fill="#0E0333"
1515
/>

packages/common/src/icons/Support.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ function Support() {
1010
<path
1111
d="M7.87891 5.51884C9.05048 4.49372 10.95 4.49372 12.1215 5.51884C13.2931 6.54397 13.2931 8.20603 12.1215 9.23116C11.9176 9.40958 11.6917 9.55695 11.4513 9.67326C10.7056 10.0341 10.0002 10.6716 10.0002 11.5V12.25M19 10C19 14.9706 14.9706 19 10 19C5.02944 19 1 14.9706 1 10C1 5.02944 5.02944 1 10 1C14.9706 1 19 5.02944 19 10ZM10 15.25H10.0075V15.2575H10V15.25Z"
1212
stroke="#0E0333"
13-
stroke-width="1.5"
14-
stroke-linecap="round"
15-
stroke-linejoin="round"
13+
strokeWidth="1.5"
14+
strokeLinecap="round"
15+
strokeLinejoin="round"
1616
/>
1717
</svg>
1818
);

0 commit comments

Comments
 (0)