Skip to content

Commit 1348489

Browse files
refactor(icons/wallets): migrate wallet icons to use IconBase
1 parent e2a01ee commit 1348489

25 files changed

+331
-374
lines changed

src/components/FindWallet/WalletFilterFeature.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ const WalletFilterFeature = ({
182182
}
183183
>
184184
<GridItem>
185-
<LabelIcon boxSize={7} mt={0.5} aria-hidden />
185+
<LabelIcon className="mt-0. size-7" aria-hidden />
186186
</GridItem>
187187

188188
<GridItem as="span" lineHeight="1.1rem">
Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
1-
/* eslint-disable react/jsx-key */
2-
import * as React from "react"
3-
import { createIcon } from "@chakra-ui/react"
1+
import { createIconBase } from "../icon-base"
2+
import { commonIconDefaultAttrs } from "../utils"
43

5-
import { commonIconDefaultProps } from "../utils"
6-
7-
export const BrowserIcon = createIcon({
4+
export const BrowserIcon = createIconBase({
85
displayName: "BrowserIcon",
96
viewBox: "0 0 256 256",
10-
defaultProps: {
11-
width: "256px",
12-
height: "256px",
13-
...commonIconDefaultProps,
14-
},
15-
path: [
16-
<path d="M175 145C175 170.957 153.957 192 128 192C102.043 192 81 170.957 81 145C81 119.043 102.043 98 128 98C153.957 98 175 119.043 175 145ZM114.845 178.875C102.573 174.106 93.5341 162.86 91.926 149.335H102.924C104.063 160.985 108.769 170.311 113.385 176.88C113.873 177.574 114.361 178.24 114.845 178.875ZM92.2204 138.665H102.924C104.013 127.529 108.361 118.516 112.774 112.005C102.156 116.913 94.3074 126.797 92.2204 138.665ZM122.115 170.745C118.387 165.44 114.742 158.211 113.658 149.335H141.842C140.758 158.211 137.113 165.44 133.385 170.745C131.361 173.625 129.339 175.899 127.75 177.51C126.161 175.899 124.139 173.625 122.115 170.745ZM122.115 117.255C118.387 122.56 114.742 129.789 113.658 138.665H141.842C140.758 129.789 137.113 122.56 133.385 117.255C131.361 114.375 129.339 112.101 127.75 110.49C126.161 112.101 124.139 114.375 122.115 117.255ZM142.115 176.88C146.731 170.311 151.437 160.985 152.576 149.335H164.074C162.435 163.117 153.081 174.532 140.452 179.14C141.003 178.425 141.559 177.671 142.115 176.88ZM152.576 138.665H163.78C161.646 126.529 153.488 116.469 142.505 111.681C146.993 118.216 151.469 127.343 152.576 138.665Z" />,
17-
<path d="M31.6705 43L224.329 43C230.222 43 235 47.7776 235 53.6705V203.33C235 209.223 230.222 214 224.329 214H31.67C25.7771 214 21 209.222 21 203.33L21 53.67C21 47.7771 25.7776 43 31.6705 43ZM31.671 83.67L224.329 83.67V203.329H31.671L31.671 83.67ZM46 70C49.3137 70 52 67.3137 52 64C52 60.6863 49.3137 58 46 58C42.6863 58 40 60.6863 40 64C40 67.3137 42.6863 70 46 70ZM71 64C71 67.3137 68.3137 70 65 70C61.6863 70 59 67.3137 59 64C59 60.6863 61.6863 58 65 58C68.3137 58 71 60.6863 71 64Z" />,
18-
],
7+
className: "w-[256px] h-auto",
8+
...commonIconDefaultAttrs,
9+
children: (
10+
<>
11+
<path d="M175 145C175 170.957 153.957 192 128 192C102.043 192 81 170.957 81 145C81 119.043 102.043 98 128 98C153.957 98 175 119.043 175 145ZM114.845 178.875C102.573 174.106 93.5341 162.86 91.926 149.335H102.924C104.063 160.985 108.769 170.311 113.385 176.88C113.873 177.574 114.361 178.24 114.845 178.875ZM92.2204 138.665H102.924C104.013 127.529 108.361 118.516 112.774 112.005C102.156 116.913 94.3074 126.797 92.2204 138.665ZM122.115 170.745C118.387 165.44 114.742 158.211 113.658 149.335H141.842C140.758 158.211 137.113 165.44 133.385 170.745C131.361 173.625 129.339 175.899 127.75 177.51C126.161 175.899 124.139 173.625 122.115 170.745ZM122.115 117.255C118.387 122.56 114.742 129.789 113.658 138.665H141.842C140.758 129.789 137.113 122.56 133.385 117.255C131.361 114.375 129.339 112.101 127.75 110.49C126.161 112.101 124.139 114.375 122.115 117.255ZM142.115 176.88C146.731 170.311 151.437 160.985 152.576 149.335H164.074C162.435 163.117 153.081 174.532 140.452 179.14C141.003 178.425 141.559 177.671 142.115 176.88ZM152.576 138.665H163.78C161.646 126.529 153.488 116.469 142.505 111.681C146.993 118.216 151.469 127.343 152.576 138.665Z" />
12+
13+
<path d="M31.6705 43L224.329 43C230.222 43 235 47.7776 235 53.6705V203.33C235 209.223 230.222 214 224.329 214H31.67C25.7771 214 21 209.222 21 203.33L21 53.67C21 47.7771 25.7776 43 31.6705 43ZM31.671 83.67L224.329 83.67V203.329H31.671L31.671 83.67ZM46 70C49.3137 70 52 67.3137 52 64C52 60.6863 49.3137 58 46 58C42.6863 58 40 60.6863 40 64C40 67.3137 42.6863 70 46 70ZM71 64C71 67.3137 68.3137 70 65 70C61.6863 70 59 67.3137 59 64C59 60.6863 61.6863 58 65 58C68.3137 58 71 60.6863 71 64Z" />
14+
</>
15+
),
1916
})
Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
1-
/* eslint-disable react/jsx-key */
2-
import * as React from "react"
3-
import { createIcon } from "@chakra-ui/react"
1+
import { createIconBase } from "../icon-base"
2+
import { commonIconDefaultAttrs } from "../utils"
43

5-
import { commonIconDefaultProps } from "../utils"
6-
7-
export const BuyCryptoIcon = createIcon({
4+
export const BuyCryptoIcon = createIconBase({
85
displayName: "BuyCryptoIcon",
96
viewBox: "0 0 256 256",
10-
defaultProps: {
11-
width: "256px",
12-
height: "256px",
13-
...commonIconDefaultProps,
14-
},
15-
path: [
16-
<path d="M48 42.6649C45.0536 42.6649 42.665 45.0535 42.665 47.9999C42.665 50.9464 45.0536 53.3349 48 53.3349H64.0845V174C64.0845 177.499 66.9208 180.335 70.4195 180.335H95.3849C89.2823 182.915 85 188.957 85 196C85 205.389 92.6112 213 102 213C111.389 213 119 205.389 119 196C119 188.957 114.718 182.915 108.615 180.335H164.385C158.282 182.915 154 188.957 154 196C154 205.389 161.611 213 171 213C180.389 213 188 205.389 188 196C188 188.957 183.718 182.915 177.615 180.335H181C183.946 180.335 186.335 177.946 186.335 175C186.335 172.053 183.946 169.665 181 169.665H74.7545V48.9999C74.7545 45.5012 71.9182 42.6649 68.4195 42.6649H48Z" />,
17-
<path d="M142.654 82.9681C145.29 80.8241 149.069 80.8241 151.704 82.9681C153.289 84.2576 155.349 84.8095 157.367 84.4854C160.721 83.9464 163.993 85.8356 165.204 89.0102C165.932 90.9195 167.44 92.4274 169.349 93.1554C172.524 94.3659 174.413 97.6382 173.874 100.993C173.55 103.01 174.102 105.07 175.391 106.655C177.535 109.291 177.535 113.069 175.391 115.705C174.102 117.29 173.55 119.35 173.874 121.367C174.413 124.722 172.524 127.994 169.349 129.205C167.44 129.933 165.932 131.441 165.204 133.35C163.993 136.524 160.721 138.414 157.367 137.875C155.349 137.55 153.289 138.102 151.704 139.392C149.069 141.536 145.29 141.536 142.654 139.392C141.069 138.102 139.009 137.55 136.992 137.875C133.637 138.414 130.365 136.524 129.155 133.35C128.427 131.441 126.919 129.933 125.01 129.205C121.835 127.994 119.946 124.722 120.485 121.367C120.809 119.35 120.257 117.29 118.967 115.705C116.823 113.069 116.823 109.291 118.967 106.655C120.257 105.07 120.809 103.01 120.485 100.993C119.946 97.6382 121.835 94.3659 125.01 93.1554C126.919 92.4274 128.427 90.9195 129.155 89.0103C130.365 85.8356 133.637 83.9464 136.992 84.4854C139.009 84.8095 141.069 84.2576 142.654 82.9681ZM148.414 93.1251C148.018 92.532 147.146 92.532 146.751 93.1251L137.039 107.675C136.721 108.151 136.867 108.795 137.358 109.089L147.07 114.887C147.385 115.076 147.779 115.076 148.095 114.887L157.807 109.089C158.298 108.795 158.443 108.151 158.126 107.675L148.414 93.1251ZM148.667 128.807C148.269 129.381 147.421 129.381 147.023 128.807L139.191 117.514C138.573 116.623 139.617 115.523 140.539 116.094L147.319 120.288C147.641 120.488 148.049 120.488 148.371 120.288L155.151 116.094C156.073 115.523 157.117 116.623 156.499 117.514L148.667 128.807Z" />,
18-
<path d="M84.6641 79.6699C84.6641 70.8303 91.83 63.6644 100.67 63.6644H209.229C220.557 63.6644 228.3 75.1084 224.087 85.6231L198.579 149.283C196.146 155.355 190.263 159.335 183.721 159.335H100.67C91.83 159.335 84.6641 152.17 84.6641 143.33V79.6699ZM100.67 74.3354C97.7234 74.3354 95.3351 76.7238 95.3351 79.6699V143.33C95.3351 146.276 97.7234 148.664 100.67 148.664H183.721C185.902 148.664 187.862 147.338 188.673 145.314L214.181 81.6541C215.585 78.1496 213.005 74.3354 209.229 74.3354H100.67Z" />,
19-
],
7+
className: "w-[256px] h-auto",
8+
...commonIconDefaultAttrs,
9+
children: (
10+
<>
11+
<path d="M48 42.6649C45.0536 42.6649 42.665 45.0535 42.665 47.9999C42.665 50.9464 45.0536 53.3349 48 53.3349H64.0845V174C64.0845 177.499 66.9208 180.335 70.4195 180.335H95.3849C89.2823 182.915 85 188.957 85 196C85 205.389 92.6112 213 102 213C111.389 213 119 205.389 119 196C119 188.957 114.718 182.915 108.615 180.335H164.385C158.282 182.915 154 188.957 154 196C154 205.389 161.611 213 171 213C180.389 213 188 205.389 188 196C188 188.957 183.718 182.915 177.615 180.335H181C183.946 180.335 186.335 177.946 186.335 175C186.335 172.053 183.946 169.665 181 169.665H74.7545V48.9999C74.7545 45.5012 71.9182 42.6649 68.4195 42.6649H48Z" />
12+
13+
<path d="M142.654 82.9681C145.29 80.8241 149.069 80.8241 151.704 82.9681C153.289 84.2576 155.349 84.8095 157.367 84.4854C160.721 83.9464 163.993 85.8356 165.204 89.0102C165.932 90.9195 167.44 92.4274 169.349 93.1554C172.524 94.3659 174.413 97.6382 173.874 100.993C173.55 103.01 174.102 105.07 175.391 106.655C177.535 109.291 177.535 113.069 175.391 115.705C174.102 117.29 173.55 119.35 173.874 121.367C174.413 124.722 172.524 127.994 169.349 129.205C167.44 129.933 165.932 131.441 165.204 133.35C163.993 136.524 160.721 138.414 157.367 137.875C155.349 137.55 153.289 138.102 151.704 139.392C149.069 141.536 145.29 141.536 142.654 139.392C141.069 138.102 139.009 137.55 136.992 137.875C133.637 138.414 130.365 136.524 129.155 133.35C128.427 131.441 126.919 129.933 125.01 129.205C121.835 127.994 119.946 124.722 120.485 121.367C120.809 119.35 120.257 117.29 118.967 115.705C116.823 113.069 116.823 109.291 118.967 106.655C120.257 105.07 120.809 103.01 120.485 100.993C119.946 97.6382 121.835 94.3659 125.01 93.1554C126.919 92.4274 128.427 90.9195 129.155 89.0103C130.365 85.8356 133.637 83.9464 136.992 84.4854C139.009 84.8095 141.069 84.2576 142.654 82.9681ZM148.414 93.1251C148.018 92.532 147.146 92.532 146.751 93.1251L137.039 107.675C136.721 108.151 136.867 108.795 137.358 109.089L147.07 114.887C147.385 115.076 147.779 115.076 148.095 114.887L157.807 109.089C158.298 108.795 158.443 108.151 158.126 107.675L148.414 93.1251ZM148.667 128.807C148.269 129.381 147.421 129.381 147.023 128.807L139.191 117.514C138.573 116.623 139.617 115.523 140.539 116.094L147.319 120.288C147.641 120.488 148.049 120.488 148.371 120.288L155.151 116.094C156.073 115.523 157.117 116.623 156.499 117.514L148.667 128.807Z" />
14+
15+
<path d="M84.6641 79.6699C84.6641 70.8303 91.83 63.6644 100.67 63.6644H209.229C220.557 63.6644 228.3 75.1084 224.087 85.6231L198.579 149.283C196.146 155.355 190.263 159.335 183.721 159.335H100.67C91.83 159.335 84.6641 152.17 84.6641 143.33V79.6699ZM100.67 74.3354C97.7234 74.3354 95.3351 76.7238 95.3351 79.6699V143.33C95.3351 146.276 97.7234 148.664 100.67 148.664H183.721C185.902 148.664 187.862 147.338 188.673 145.314L214.181 81.6541C215.585 78.1496 213.005 74.3354 209.229 74.3354H100.67Z" />
16+
</>
17+
),
2018
})
Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
import { createIcon } from "@chakra-ui/react"
1+
import { createIconBase } from "../icon-base"
2+
import { commonIconDefaultAttrs } from "../utils"
23

3-
import { commonIconDefaultProps } from "../utils"
4-
5-
export const ConnectDappsIcon = createIcon({
4+
export const ConnectDappsIcon = createIconBase({
65
displayName: "ConnectDappsIcon",
76
viewBox: "0 0 256 256",
8-
defaultProps: {
9-
width: "256px",
10-
height: "256px",
11-
...commonIconDefaultProps,
12-
},
13-
d: "M104.665 47C104.665 34.1125 115.112 23.665 128 23.665C140.888 23.665 151.335 34.1125 151.335 47C151.335 47.9747 151.275 48.9355 151.159 49.8788L193.064 74.0723C197.344 68.9348 203.79 65.665 211 65.665C223.888 65.665 234.335 76.1125 234.335 89C234.335 100.052 226.652 109.31 216.335 111.722V147.278C226.652 149.691 234.335 158.948 234.335 170C234.335 182.888 223.888 193.335 211 193.335C202.61 193.335 195.254 188.907 191.142 182.261L151.059 205.403C151.241 206.575 151.335 207.777 151.335 209C151.335 221.888 140.888 232.335 128 232.335C115.112 232.335 104.665 221.888 104.665 209C104.665 207.655 104.779 206.337 104.997 205.055L65.0296 181.979C60.9524 188.782 53.508 193.335 45 193.335C32.1125 193.335 21.665 182.888 21.665 170C21.665 158.948 29.3484 149.691 39.665 147.278V111.722C29.3484 109.31 21.665 100.052 21.665 89C21.665 76.1125 32.1125 65.665 45 65.665C52.3299 65.665 58.8704 69.0446 63.1484 74.3305L104.887 50.2327C104.741 49.1761 104.665 48.0969 104.665 47ZM205.665 147.278V111.722C199.547 110.291 194.355 106.453 191.142 101.261L151.059 124.403C151.241 125.575 151.335 126.777 151.335 128C151.335 128.975 151.275 129.935 151.159 130.879L193.064 155.072C196.254 151.243 200.648 148.451 205.665 147.278ZM63.1484 155.331C59.9417 151.368 55.4638 148.477 50.335 147.278V111.722C56.5634 110.266 61.8321 106.314 65.0296 100.979L104.997 124.055C104.779 125.337 104.665 126.655 104.665 128C104.665 129.097 104.741 130.176 104.887 131.233L63.1484 155.331ZM187.919 92.4519C187.752 91.3255 187.665 90.1729 187.665 89C187.665 86.6367 188.016 84.3554 188.67 82.2055L148.135 58.8025C144.948 64.2269 139.632 68.2496 133.335 69.7224V105.278C139.408 106.698 144.568 110.49 147.786 115.623L187.919 92.4519ZM122.665 105.278C116.703 106.672 111.62 110.353 108.392 115.344L68.131 92.0998C68.2656 91.0857 68.335 90.051 68.335 89C68.335 86.7554 68.0181 84.5848 67.4266 82.5306L108.035 59.0856C111.238 64.3667 116.478 68.2754 122.665 69.7224V105.278ZM128 34.335C121.005 34.335 115.335 40.0054 115.335 47C115.335 53.9947 121.005 59.665 128 59.665C134.995 59.665 140.665 53.9947 140.665 47C140.665 40.0054 134.995 34.335 128 34.335ZM148.135 139.803L188.67 163.205C188.016 165.355 187.665 167.637 187.665 170C187.665 171.173 187.752 172.325 187.919 173.452L147.786 196.623C144.568 191.49 139.408 187.698 133.335 186.278V150.722C139.632 149.25 144.948 145.227 148.135 139.803ZM122.665 150.722V186.278C116.703 187.672 111.62 191.353 108.392 196.344L68.131 173.1C68.2656 172.086 68.335 171.051 68.335 170C68.335 167.755 68.0181 165.585 67.4266 163.531L108.035 140.086C111.238 145.367 116.478 149.275 122.665 150.722ZM128 115.335C121.005 115.335 115.335 121.005 115.335 128C115.335 134.995 121.005 140.665 128 140.665C134.995 140.665 140.665 134.995 140.665 128C140.665 121.005 134.995 115.335 128 115.335ZM115.335 209C115.335 202.005 121.005 196.335 128 196.335C134.995 196.335 140.665 202.005 140.665 209C140.665 215.995 134.995 221.665 128 221.665C121.005 221.665 115.335 215.995 115.335 209ZM211 157.335C204.005 157.335 198.335 163.005 198.335 170C198.335 176.995 204.005 182.665 211 182.665C217.995 182.665 223.665 176.995 223.665 170C223.665 163.005 217.995 157.335 211 157.335ZM32.335 89C32.335 82.0054 38.0054 76.335 45 76.335C51.9947 76.335 57.665 82.0054 57.665 89C57.665 95.9947 51.9947 101.665 45 101.665C38.0054 101.665 32.335 95.9947 32.335 89ZM198.335 89C198.335 82.0054 204.005 76.335 211 76.335C217.995 76.335 223.665 82.0054 223.665 89C223.665 95.9947 217.995 101.665 211 101.665C204.005 101.665 198.335 95.9947 198.335 89Z",
7+
className: "w-[256px] h-auto",
8+
...commonIconDefaultAttrs,
9+
children: (
10+
<path d="M104.665 47C104.665 34.1125 115.112 23.665 128 23.665C140.888 23.665 151.335 34.1125 151.335 47C151.335 47.9747 151.275 48.9355 151.159 49.8788L193.064 74.0723C197.344 68.9348 203.79 65.665 211 65.665C223.888 65.665 234.335 76.1125 234.335 89C234.335 100.052 226.652 109.31 216.335 111.722V147.278C226.652 149.691 234.335 158.948 234.335 170C234.335 182.888 223.888 193.335 211 193.335C202.61 193.335 195.254 188.907 191.142 182.261L151.059 205.403C151.241 206.575 151.335 207.777 151.335 209C151.335 221.888 140.888 232.335 128 232.335C115.112 232.335 104.665 221.888 104.665 209C104.665 207.655 104.779 206.337 104.997 205.055L65.0296 181.979C60.9524 188.782 53.508 193.335 45 193.335C32.1125 193.335 21.665 182.888 21.665 170C21.665 158.948 29.3484 149.691 39.665 147.278V111.722C29.3484 109.31 21.665 100.052 21.665 89C21.665 76.1125 32.1125 65.665 45 65.665C52.3299 65.665 58.8704 69.0446 63.1484 74.3305L104.887 50.2327C104.741 49.1761 104.665 48.0969 104.665 47ZM205.665 147.278V111.722C199.547 110.291 194.355 106.453 191.142 101.261L151.059 124.403C151.241 125.575 151.335 126.777 151.335 128C151.335 128.975 151.275 129.935 151.159 130.879L193.064 155.072C196.254 151.243 200.648 148.451 205.665 147.278ZM63.1484 155.331C59.9417 151.368 55.4638 148.477 50.335 147.278V111.722C56.5634 110.266 61.8321 106.314 65.0296 100.979L104.997 124.055C104.779 125.337 104.665 126.655 104.665 128C104.665 129.097 104.741 130.176 104.887 131.233L63.1484 155.331ZM187.919 92.4519C187.752 91.3255 187.665 90.1729 187.665 89C187.665 86.6367 188.016 84.3554 188.67 82.2055L148.135 58.8025C144.948 64.2269 139.632 68.2496 133.335 69.7224V105.278C139.408 106.698 144.568 110.49 147.786 115.623L187.919 92.4519ZM122.665 105.278C116.703 106.672 111.62 110.353 108.392 115.344L68.131 92.0998C68.2656 91.0857 68.335 90.051 68.335 89C68.335 86.7554 68.0181 84.5848 67.4266 82.5306L108.035 59.0856C111.238 64.3667 116.478 68.2754 122.665 69.7224V105.278ZM128 34.335C121.005 34.335 115.335 40.0054 115.335 47C115.335 53.9947 121.005 59.665 128 59.665C134.995 59.665 140.665 53.9947 140.665 47C140.665 40.0054 134.995 34.335 128 34.335ZM148.135 139.803L188.67 163.205C188.016 165.355 187.665 167.637 187.665 170C187.665 171.173 187.752 172.325 187.919 173.452L147.786 196.623C144.568 191.49 139.408 187.698 133.335 186.278V150.722C139.632 149.25 144.948 145.227 148.135 139.803ZM122.665 150.722V186.278C116.703 187.672 111.62 191.353 108.392 196.344L68.131 173.1C68.2656 172.086 68.335 171.051 68.335 170C68.335 167.755 68.0181 165.585 67.4266 163.531L108.035 140.086C111.238 145.367 116.478 149.275 122.665 150.722ZM128 115.335C121.005 115.335 115.335 121.005 115.335 128C115.335 134.995 121.005 140.665 128 140.665C134.995 140.665 140.665 134.995 140.665 128C140.665 121.005 134.995 115.335 128 115.335ZM115.335 209C115.335 202.005 121.005 196.335 128 196.335C134.995 196.335 140.665 202.005 140.665 209C140.665 215.995 134.995 221.665 128 221.665C121.005 221.665 115.335 215.995 115.335 209ZM211 157.335C204.005 157.335 198.335 163.005 198.335 170C198.335 176.995 204.005 182.665 211 182.665C217.995 182.665 223.665 176.995 223.665 170C223.665 163.005 217.995 157.335 211 157.335ZM32.335 89C32.335 82.0054 38.0054 76.335 45 76.335C51.9947 76.335 57.665 82.0054 57.665 89C57.665 95.9947 51.9947 101.665 45 101.665C38.0054 101.665 32.335 95.9947 32.335 89ZM198.335 89C198.335 82.0054 204.005 76.335 211 76.335C217.995 76.335 223.665 82.0054 223.665 89C223.665 95.9947 217.995 101.665 211 101.665C204.005 101.665 198.335 95.9947 198.335 89Z" />
11+
),
1412
})
Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
1-
/* eslint-disable react/jsx-key */
2-
import * as React from "react"
3-
import { createIcon } from "@chakra-ui/react"
1+
import { createIconBase } from "../icon-base"
2+
import { commonIconDefaultAttrs } from "../utils"
43

5-
import { commonIconDefaultProps } from "../utils"
6-
7-
export const DesktopIcon = createIcon({
4+
export const DesktopIcon = createIconBase({
85
displayName: "DesktopIcon",
96
viewBox: "0 0 256 256",
10-
defaultProps: {
11-
width: "256px",
12-
height: "256px",
13-
...commonIconDefaultProps,
14-
},
15-
path: [
16-
<path d="M52.67 183C46.7771 183 42 178.222 42 172.329V63.6705C42 57.7776 46.7776 53 52.6705 53H202.33C208.223 53 213 57.7776 213 63.6705V172.33C213 178.223 208.222 183 202.329 183H52.67ZM52.671 152.66V63.671H202.329V152.66H52.671Z" />,
17-
<path d="M90 192.665C87.0536 192.665 84.665 195.054 84.665 198C84.665 200.946 87.0536 203.335 90 203.335H163.5C166.446 203.335 168.835 200.946 168.835 198C168.835 195.054 166.446 192.665 163.5 192.665H90Z" />,
18-
],
7+
className: "w-[256px] h-auto",
8+
...commonIconDefaultAttrs,
9+
children: (
10+
<>
11+
<path d="M52.67 183C46.7771 183 42 178.222 42 172.329V63.6705C42 57.7776 46.7776 53 52.6705 53H202.33C208.223 53 213 57.7776 213 63.6705V172.33C213 178.223 208.222 183 202.329 183H52.67ZM52.671 152.66V63.671H202.329V152.66H52.671Z" />
12+
13+
<path d="M90 192.665C87.0536 192.665 84.665 195.054 84.665 198C84.665 200.946 87.0536 203.335 90 203.335H163.5C166.446 203.335 168.835 200.946 168.835 198C168.835 195.054 166.446 192.665 163.5 192.665H90Z" />
14+
</>
15+
),
1916
})

0 commit comments

Comments
 (0)