Skip to content

Commit 9eefa71

Browse files
committed
fix(icons): ensure proper export of Youtube icon and format SunMoon SVG
1 parent ff6ab14 commit 9eefa71

File tree

4 files changed

+20
-17
lines changed

4 files changed

+20
-17
lines changed

js/react/lib/icons/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ export { SunLine } from "./sun-line";
2121
export { SunMoon } from "./sun-moon";
2222
export { Telegram } from "./telegram";
2323
export { Twitter } from "./twitter";
24-
export { Youtube } from "./youtube";
24+
export { Youtube } from "./youtube";

js/react/lib/icons/sun-moon.tsx

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,23 @@
11
import { SVGProps } from "react";
22
export const SunMoon = (props: SVGProps<SVGSVGElement>) => (
3-
<svg
4-
xmlns="http://www.w3.org/2000/svg"
3+
<svg
4+
xmlns="http://www.w3.org/2000/svg"
55
width="1em"
66
height="1em"
7-
viewBox="0 0 24 24"
8-
fill="none"
9-
stroke="currentColor"
10-
stroke-width="2"
11-
stroke-linecap="round"
12-
stroke-linejoin="round"
13-
{...props}>
14-
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
15-
<path d="M9.173 14.83a4 4 0 1 1 5.657 -5.657" />
16-
<path d="M11.294 12.707l.174 .247a7.5 7.5 0 0 0 8.845 2.492a9 9 0 0 1 -14.671 2.914" />
17-
<path d="M3 12h1" /><path d="M12 3v1" /><path d="M5.6 5.6l.7 .7" />
18-
<path d="M3 21l18 -18" />
7+
viewBox="0 0 24 24"
8+
fill="none"
9+
stroke="currentColor"
10+
stroke-width="2"
11+
stroke-linecap="round"
12+
stroke-linejoin="round"
13+
{...props}
14+
>
15+
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
16+
<path d="M9.173 14.83a4 4 0 1 1 5.657 -5.657" />
17+
<path d="M11.294 12.707l.174 .247a7.5 7.5 0 0 0 8.845 2.492a9 9 0 0 1 -14.671 2.914" />
18+
<path d="M3 12h1" />
19+
<path d="M12 3v1" />
20+
<path d="M5.6 5.6l.7 .7" />
21+
<path d="M3 21l18 -18" />
1922
</svg>
2023
);

scripts/figma.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,4 @@
7575
"title": "React - Tag",
7676
"body": "If you want to contribute in this component, comment to this issue asking for assignment, and send a PR as draft as soon as possible.\n> [See component in figma](https://www.figma.com/design/S9yCZSaZ9q54XSojWNhJft/Rust-Lang-ES?node-id=59-1129&t=ORNvP0zJ1AaVmw9c-0)"
7777
}
78-
]
78+
]

scripts/project-fields.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,4 +144,4 @@
144144
"name": "End date",
145145
"dataType": "DATE"
146146
}
147-
]
147+
]

0 commit comments

Comments
 (0)