Skip to content

Commit

Permalink
fix(icons): use camelCase in prop names
Browse files Browse the repository at this point in the history
  • Loading branch information
aliceoq committed Jan 3, 2024
1 parent d01da6a commit 214dfbb
Show file tree
Hide file tree
Showing 22 changed files with 183 additions and 183 deletions.
12 changes: 6 additions & 6 deletions src/components/icons/announcement-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ const AnnouncementIcon = (props: IconProps) => (
d="M56.20305,104A71.899,71.899,0,0,1,128.5484,32.002c39.58967.29432,71.25651,33.20133,71.25651,72.90185V112c0,35.81563,7.49325,56.59893,14.093,67.95814A7.999,7.999,0,0,1,207.01628,192H48.98365A7.99908,7.99908,0,0,1,42.103,179.95641c6.60328-11.35959,14.1-32.1426,14.1-67.95641Z"
fill="none"
stroke="#4A596B"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="18"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="18"
></path>
<path
d="M96,192v8a32,32,0,0,0,64,0v-8"
fill="none"
stroke="#4A596B"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="18"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="18"
></path>
</Icon>
)
Expand Down
12 changes: 6 additions & 6 deletions src/components/icons/arrow-left-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ const ArrowLeftIcon = (props: IconProps) => (
<path
d="M19.5195 12.0195L4.52953 12.0195"
stroke="#4A596B"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
strokeWidth="1.5"
strokeLinecap="round"
strokeLinejoin="round"
/>
<path
d="M10.5176 18.0117L4.48058 11.9997L10.5176 5.98772"
stroke="#4A596B"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
strokeWidth="1.5"
strokeLinecap="round"
strokeLinejoin="round"
/>
</Icon>
)
Expand Down
6 changes: 3 additions & 3 deletions src/components/icons/catalog-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ const CatalogIcon = (props: IconProps) => (
d="M122.66459,25.8792,42.0101,42.0101,25.8792,122.66459a8,8,0,0,0,2.1878,7.22578L132.51977,234.34315a8,8,0,0,0,11.31371,0l90.50967-90.50967a8,8,0,0,0,0-11.31371L129.89037,28.067A8,8,0,0,0,122.66459,25.8792Z"
fill="none"
stroke="#4A596B"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="18"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="18"
></path>
<circle cx="84" cy="84" r="12" fill="#4A596B"></circle>
</Icon>
Expand Down
24 changes: 12 additions & 12 deletions src/components/icons/dashboards-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ const DashboardsIcon = (props: IconProps) => (
points="44 208 44 136 100 136"
fill="none"
stroke="#4A596B"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="18"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="18"
></polyline>
<line
x1="228"
Expand All @@ -24,27 +24,27 @@ const DashboardsIcon = (props: IconProps) => (
y2="208"
fill="none"
stroke="#4A596B"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="18"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="18"
></line>
<polyline
points="100 208 100 88 156 88"
fill="none"
stroke="#4A596B"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="18"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="18"
></polyline>
<rect
x="156"
y="40"
width="56"
height="168"
stroke-width="18"
strokeWidth="18"
stroke="#4A596B"
stroke-linecap="round"
stroke-linejoin="round"
strokeLinecap="round"
strokeLinejoin="round"
fill="none"
></rect>
</Icon>
Expand Down
16 changes: 8 additions & 8 deletions src/components/icons/developer-portal-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,26 @@ const DeveloperPortalIcon = (props: IconProps) => (
height="19"
rx="2"
stroke="#4A596B"
stroke-width="2"
strokeWidth="2"
/>
<path d="M3 7L21 7" stroke="#4A596B" stroke-width="2" />
<path d="M3 7L21 7" stroke="#4A596B" strokeWidth="2" />
<path
d="M15 16.375L17 14.875L15 13.375"
stroke="#4A596B"
stroke-linecap="round"
stroke-linejoin="round"
strokeLinecap="round"
strokeLinejoin="round"
/>
<path
d="M9 13.375L7 14.875L9 16.375"
stroke="#4A596B"
stroke-linecap="round"
stroke-linejoin="round"
strokeLinecap="round"
strokeLinejoin="round"
/>
<path
d="M10.5644 17.8947L13.5 11.5"
stroke="#4A596B"
stroke-linecap="round"
stroke-linejoin="round"
strokeLinecap="round"
strokeLinejoin="round"
/>
</Icon>
)
Expand Down
8 changes: 4 additions & 4 deletions src/components/icons/graph-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ const GraphIcon = (props: IconProps) => (
<path
d="M15.5993 9.03607H12.749L10.6112 11.2461L6.33574 6.82608L4.19799 9.03607H1.34766"
stroke="currentcolor"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
strokeWidth="1.5"
strokeLinecap="round"
strokeLinejoin="round"
/>
<path
d="M1 14V3C1 1.89543 1.89543 1 3 1H14C15.1046 1 16 1.89543 16 3V14C16 15.1046 15.1046 16 14 16H3C1.89543 16 1 15.1046 1 14Z"
stroke="currentcolor"
stroke-width="2"
strokeWidth="2"
/>
</Icon>
)
Expand Down
18 changes: 9 additions & 9 deletions src/components/icons/healthcheck-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ const HealthcheckIcon = (props: IconProps) => (
y2="208"
fill="none"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="18"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="18"
></line>
<line
x1="32"
Expand All @@ -27,20 +27,20 @@ const HealthcheckIcon = (props: IconProps) => (
y2="104"
fill="none"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="18"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="18"
></line>
<rect
x="32"
y="48"
width="192"
height="160"
rx="8"
stroke-width="18"
strokeWidth="18"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
strokeLinecap="round"
strokeLinejoin="round"
fill="none"
></rect>
</Icon>
Expand Down
18 changes: 9 additions & 9 deletions src/components/icons/known-issues-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ const KnownIssueIcon = (props: IconProps) => (
y2="208"
fill="none"
stroke="#4A596B"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="18"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="18"
></line>
<line
x1="32"
Expand All @@ -27,20 +27,20 @@ const KnownIssueIcon = (props: IconProps) => (
y2="104"
fill="none"
stroke="#4A596B"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="18"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="18"
></line>
<rect
x="32"
y="48"
width="192"
height="160"
rx="8"
stroke-width="18"
strokeWidth="18"
stroke="#4A596B"
stroke-linecap="round"
stroke-linejoin="round"
strokeLinecap="round"
strokeLinejoin="round"
fill="none"
></rect>
</Icon>
Expand Down
30 changes: 15 additions & 15 deletions src/components/icons/marketplace-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,29 @@ const MarketplaceIcon = (props: IconProps) => (
r="32"
fill="none"
stroke="#4A596B"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="18"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="18"
></circle>
<circle
cx="176"
cy="200"
r="32"
fill="none"
stroke="#4A596B"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="18"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="18"
></circle>
<circle
cx="176"
cy="56"
r="32"
fill="none"
stroke="#4A596B"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="18"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="18"
></circle>
<line
x1="149.08436"
Expand All @@ -46,9 +46,9 @@ const MarketplaceIcon = (props: IconProps) => (
y2="110.69864"
fill="none"
stroke="#4A596B"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="18"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="18"
></line>
<line
x1="90.9132"
Expand All @@ -57,9 +57,9 @@ const MarketplaceIcon = (props: IconProps) => (
y2="182.69704"
fill="none"
stroke="#4A596B"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="18"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="18"
></line>
</Icon>
)
Expand Down
14 changes: 7 additions & 7 deletions src/components/icons/megaphone-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,29 @@ const MegaphoneIcon = (props: IconProps) => (
<path
d="M8.39317 5.82935H5.00293C4.72679 5.82935 4.50293 6.0532 4.50293 6.32935V12.3537C4.50293 12.6299 4.72679 12.8537 5.00293 12.8537H8.39317C8.66932 12.8537 8.89317 12.6299 8.89317 12.3537V6.32935C8.89317 6.0532 8.66932 5.82935 8.39317 5.82935Z"
stroke="currentcolor"
stroke-width="2"
strokeWidth="2"
/>
<path
d="M15.5853 1.49929L8.89355 5.82927V12.8537L15.5853 17.1836C15.918 17.3989 16.357 17.1601 16.357 16.7639V1.91907C16.357 1.52282 15.918 1.28402 15.5853 1.49929Z"
stroke="currentcolor"
stroke-width="2"
strokeWidth="2"
/>
<path
d="M2.36914 6.70728H4.00329C4.27943 6.70728 4.50329 6.93113 4.50329 7.20728V11.4756C4.50329 11.7517 4.27943 11.9756 4.00329 11.9756H2.36914C2.093 11.9756 1.86914 11.7517 1.86914 11.4756V7.20728C1.86914 6.93113 2.093 6.70728 2.36914 6.70728Z"
stroke="currentcolor"
stroke-width="2"
strokeWidth="2"
/>
<path
d="M2.90474 16.9811L5.38122 12.8536H8.47085C8.85476 12.8536 9.09544 13.2684 8.90497 13.6017L5.96908 18.7395C5.88688 18.8834 5.70362 18.9333 5.55977 18.8511L3.01314 17.3959C2.86712 17.3125 2.81821 17.1253 2.90474 16.9811Z"
stroke="currentcolor"
stroke-width="2"
strokeWidth="2"
/>
<path
d="M20.789 5C21.8086 6.16449 22.3813 7.74366 22.3813 9.39024C22.3813 11.0368 21.8086 12.616 20.789 13.7805M18.8691 7.19202C19.3789 7.77426 19.6653 8.56385 19.6653 9.38714C19.6653 10.2104 19.3789 11 18.8691 11.5823"
stroke="currentcolor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
/>
</Icon>
)
Expand Down
10 changes: 5 additions & 5 deletions src/components/icons/new-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ const NewIcon = (props: IconProps) => (
xmlns="http://www.w3.org/2000/svg"
>
<circle cx="8.50146" cy="8" r="8" fill="#F71963" />
<g clip-path="url(#clip0_462_17766)">
<g clipPath="url(#clip0_462_17766)">
<path
d="M12.6681 6L8.7098 9.95833L6.62646 7.875L3.50146 11"
stroke="#FFF3F6"
stroke-linecap="round"
stroke-linejoin="round"
strokeLinecap="round"
strokeLinejoin="round"
/>
<path
d="M10.1685 6H12.6685V8.5"
stroke="#FFF3F6"
stroke-linecap="round"
stroke-linejoin="round"
strokeLinecap="round"
strokeLinejoin="round"
/>
</g>
<defs>
Expand Down
6 changes: 3 additions & 3 deletions src/components/icons/orders-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ const OrdersIcon = (props: IconProps) => (
d="M42.28575,72H221.71429l-26.39873,92.39554A16,16,0,0,1,179.93118,176H84.06882a16,16,0,0,1-15.38438-11.60446L32.51492,37.80223A8,8,0,0,0,24.82273,32H8"
fill="none"
stroke="#4A596B"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="18"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="18"
></path>
</Icon>
)
Expand Down
Loading

0 comments on commit 214dfbb

Please sign in to comment.