Skip to content

Commit 518903c

Browse files
authored
Merge pull request #120 from bgd-labs/feat/add-ink-plasma
feat: add ink and plasma icons
2 parents 0d4b040 + 3c05aaa commit 518903c

File tree

27 files changed

+203
-2
lines changed

27 files changed

+203
-2
lines changed

icons/full/ink.svg

Lines changed: 1 addition & 0 deletions
Loading

icons/full/plasma.svg

Lines changed: 1 addition & 0 deletions
Loading

icons/icons.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1740,6 +1740,17 @@
17401740
"full": "icons/full/imtokenwallet.svg"
17411741
}
17421742
},
1743+
{
1744+
"type": [
1745+
"chain"
1746+
],
1747+
"chainId": 57073,
1748+
"chainName": "Ink",
1749+
"icons": {
1750+
"mono": "icons/mono/ink.svg",
1751+
"full": "icons/full/ink.svg"
1752+
}
1753+
},
17431754
{
17441755
"type": [
17451756
"asset"
@@ -2395,6 +2406,17 @@
23952406
"full": "icons/full/phantomwallet.svg"
23962407
}
23972408
},
2409+
{
2410+
"type": [
2411+
"chain"
2412+
],
2413+
"chainId": 9745,
2414+
"chainName": "Plasma",
2415+
"icons": {
2416+
"mono": "icons/mono/plasma.svg",
2417+
"full": "icons/full/plasma.svg"
2418+
}
2419+
},
23982420
{
23992421
"type": [
24002422
"chain"

icons/mono/ink.svg

Lines changed: 1 addition & 0 deletions
Loading

icons/mono/plasma.svg

Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// GENERATED BY ./src/scripts/generateComponents.ts
2+
// DO NOT EDIT IT MANUALLY
3+
4+
import React from "react";
5+
6+
import { iconInk } from "../../../icons/full/build/icon-ink.icon";
7+
import { IconComponentBaseProps } from "../../../utils";
8+
import { Image } from "../../Base/Image";
9+
10+
const InkIcon = (props: IconComponentBaseProps) => {
11+
return <Image svgCode={iconInk.data} {...props} />;
12+
};
13+
14+
if (process.env.NODE_ENV !== 'production') {
15+
InkIcon.displayName = 'InkIcon';
16+
}
17+
18+
export default InkIcon;
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// GENERATED BY ./src/scripts/generateComponents.ts
2+
// DO NOT EDIT IT MANUALLY
3+
4+
import React from "react";
5+
6+
import { iconPlasma } from "../../../icons/full/build/icon-plasma.icon";
7+
import { IconComponentBaseProps } from "../../../utils";
8+
import { Image } from "../../Base/Image";
9+
10+
const PlasmaIcon = (props: IconComponentBaseProps) => {
11+
return <Image svgCode={iconPlasma.data} {...props} />;
12+
};
13+
14+
if (process.env.NODE_ENV !== 'production') {
15+
PlasmaIcon.displayName = 'PlasmaIcon';
16+
}
17+
18+
export default PlasmaIcon;

packages/react-web3-icons/src/components/icons/full/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ export { default as HuobiwalletIcon } from './HuobiwalletIcon';
210210
export { default as HyperpaywalletIcon } from './HyperpaywalletIcon';
211211
export { default as ImpersonatedwalletIcon } from './ImpersonatedwalletIcon';
212212
export { default as ImtokenwalletIcon } from './ImtokenwalletIcon';
213+
export { default as InkIcon } from './InkIcon';
213214
export { default as JeurIcon } from './JeurIcon';
214215
export { default as KncIcon } from './KncIcon';
215216
export { default as KnclIcon } from './KnclIcon';
@@ -242,6 +243,7 @@ export { default as OptimismtestnetIcon } from './OptimismtestnetIcon';
242243
export { default as OsethIcon } from './OsethIcon';
243244
export { default as OwnbitwalletIcon } from './OwnbitwalletIcon';
244245
export { default as PhantomwalletIcon } from './PhantomwalletIcon';
246+
export { default as PlasmaIcon } from './PlasmaIcon';
245247
export { default as PolygonIcon } from './PolygonIcon';
246248
export { default as PolygonzkevmIcon } from './PolygonzkevmIcon';
247249
export { default as PteusdeIcon } from './PteusdeIcon';
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// GENERATED BY ./src/scripts/generateComponents.ts
2+
// DO NOT EDIT IT MANUALLY
3+
4+
import React from "react";
5+
6+
import { iconInk } from "../../../icons/mono/build/icon-ink.icon";
7+
import { IconComponentBaseProps } from "../../../utils";
8+
import { Image } from "../../Base/Image";
9+
10+
const InkIcon = (props: IconComponentBaseProps) => {
11+
return <Image svgCode={iconInk.data} {...props} />;
12+
};
13+
14+
if (process.env.NODE_ENV !== 'production') {
15+
InkIcon.displayName = 'InkIcon';
16+
}
17+
18+
export default InkIcon;
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// GENERATED BY ./src/scripts/generateComponents.ts
2+
// DO NOT EDIT IT MANUALLY
3+
4+
import React from "react";
5+
6+
import { iconPlasma } from "../../../icons/mono/build/icon-plasma.icon";
7+
import { IconComponentBaseProps } from "../../../utils";
8+
import { Image } from "../../Base/Image";
9+
10+
const PlasmaIcon = (props: IconComponentBaseProps) => {
11+
return <Image svgCode={iconPlasma.data} {...props} />;
12+
};
13+
14+
if (process.env.NODE_ENV !== 'production') {
15+
PlasmaIcon.displayName = 'PlasmaIcon';
16+
}
17+
18+
export default PlasmaIcon;

0 commit comments

Comments
 (0)