Skip to content

Commit b378f60

Browse files
committed
refactor: enhance TwitterIcon component with improved SVG attributes and structure
1 parent 0633cf3 commit b378f60

File tree

1 file changed

+19
-5
lines changed

1 file changed

+19
-5
lines changed

src/components/icons/TwitterIcon.jsx

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,26 @@
11
export function TwitterIcon(props) {
22
return (
3-
<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width={24} height={24} viewBox="0,0,256,256" {...props}>
4-
<g transform="scale(8.53333,8.53333)">
5-
<path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z" />
3+
<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width={100} height={100} viewBox="0,0,256,256" {...props}>
4+
<g
5+
fillRule="nonzero"
6+
stroke="none"
7+
strokeWidth={1}
8+
strokeLinecap="butt"
9+
strokeLinejoin="miter"
10+
strokeMiterlimit={10}
11+
strokeDasharray=""
12+
strokeDashoffset={0}
13+
fontFamily="none"
14+
fontWeight="none"
15+
fontSize="none"
16+
textAnchor="none"
17+
style={{ mixBlendMode: "normal" }}
18+
>
19+
<g transform="scale(8.53333,8.53333)">
20+
<path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z" />
21+
</g>
622
</g>
723
</svg>
824
)
925
}
1026

11-
12-

0 commit comments

Comments
 (0)