Skip to content

Commit 96cb503

Browse files
committed
fix: added linea chain icon
1 parent f7e37dc commit 96cb503

27 files changed

+168
-2
lines changed

icons/full/linea.svg

Lines changed: 1 addition & 0 deletions
Loading

icons/full/lineasepolia.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
@@ -1626,6 +1626,28 @@
16261626
}
16271627
}
16281628
},
1629+
{
1630+
"type": [
1631+
"chain"
1632+
],
1633+
"chainId": 59144,
1634+
"chainName": "Linea",
1635+
"icons": {
1636+
"mono": "icons/mono/linea.svg",
1637+
"full": "icons/full/linea.svg"
1638+
}
1639+
},
1640+
{
1641+
"type": [
1642+
"chain"
1643+
],
1644+
"chainId": 59141,
1645+
"chainName": "Linea Sepolia",
1646+
"icons": {
1647+
"mono": "icons/mono/lineasepolia.svg",
1648+
"full": "icons/full/lineasepolia.svg"
1649+
}
1650+
},
16291651
{
16301652
"type": [
16311653
"asset"

icons/mono/linea.svg

Lines changed: 1 addition & 0 deletions
Loading

icons/mono/lineasepolia.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+
// GENERATE BY ./src/scripts/generateComponents.ts
2+
// DO NOT EDIT IT MANUALLY
3+
4+
import React from "react";
5+
6+
import { iconLinea } from "../../../icons/full/build/icon-linea.icon";
7+
import { IconComponentBaseProps } from "../../../utils";
8+
import { Image } from "../../Base/Image";
9+
10+
const LineaIcon = (props: IconComponentBaseProps) => {
11+
return <Image svgCode={iconLinea.data} {...props} />;
12+
};
13+
14+
if (process.env.NODE_ENV !== 'production') {
15+
LineaIcon.displayName = 'LineaIcon';
16+
}
17+
18+
export default LineaIcon;
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// GENERATE BY ./src/scripts/generateComponents.ts
2+
// DO NOT EDIT IT MANUALLY
3+
4+
import React from "react";
5+
6+
import { iconLineasepolia } from "../../../icons/full/build/icon-lineasepolia.icon";
7+
import { IconComponentBaseProps } from "../../../utils";
8+
import { Image } from "../../Base/Image";
9+
10+
const LineasepoliaIcon = (props: IconComponentBaseProps) => {
11+
return <Image svgCode={iconLineasepolia.data} {...props} />;
12+
};
13+
14+
if (process.env.NODE_ENV !== 'production') {
15+
LineasepoliaIcon.displayName = 'LineasepoliaIcon';
16+
}
17+
18+
export default LineasepoliaIcon;

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,8 @@ export { default as KnclIcon } from './KnclIcon';
188188
export { default as LdoIcon } from './LdoIcon';
189189
export { default as LendIcon } from './LendIcon';
190190
export { default as LidoIcon } from './LidoIcon';
191+
export { default as LineaIcon } from './LineaIcon';
192+
export { default as LineasepoliaIcon } from './LineasepoliaIcon';
191193
export { default as LinkIcon } from './LinkIcon';
192194
export { default as LiqualitywalletIcon } from './LiqualitywalletIcon';
193195
export { default as LusdIcon } from './LusdIcon';
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// GENERATE BY ./src/scripts/generateComponents.ts
2+
// DO NOT EDIT IT MANUALLY
3+
4+
import React from "react";
5+
6+
import { iconLinea } from "../../../icons/mono/build/icon-linea.icon";
7+
import { IconComponentBaseProps } from "../../../utils";
8+
import { Image } from "../../Base/Image";
9+
10+
const LineaIcon = (props: IconComponentBaseProps) => {
11+
return <Image svgCode={iconLinea.data} {...props} />;
12+
};
13+
14+
if (process.env.NODE_ENV !== 'production') {
15+
LineaIcon.displayName = 'LineaIcon';
16+
}
17+
18+
export default LineaIcon;
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// GENERATE BY ./src/scripts/generateComponents.ts
2+
// DO NOT EDIT IT MANUALLY
3+
4+
import React from "react";
5+
6+
import { iconLineasepolia } from "../../../icons/mono/build/icon-lineasepolia.icon";
7+
import { IconComponentBaseProps } from "../../../utils";
8+
import { Image } from "../../Base/Image";
9+
10+
const LineasepoliaIcon = (props: IconComponentBaseProps) => {
11+
return <Image svgCode={iconLineasepolia.data} {...props} />;
12+
};
13+
14+
if (process.env.NODE_ENV !== 'production') {
15+
LineasepoliaIcon.displayName = 'LineasepoliaIcon';
16+
}
17+
18+
export default LineasepoliaIcon;

0 commit comments

Comments
 (0)