Skip to content

Commit 653f727

Browse files
authored
Merge pull request #112 from bgd-labs/feat/add-bob-chain
feat: add bob icon
2 parents 426bea2 + fb27cb1 commit 653f727

File tree

19 files changed

+109
-3
lines changed

19 files changed

+109
-3
lines changed

icons/full/bob.svg

Lines changed: 1 addition & 0 deletions
Loading

icons/icons.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,18 @@
425425
}
426426
}
427427
},
428+
{
429+
"type": [
430+
"chain"
431+
],
432+
"symbol": "bob",
433+
"chainId": 60808,
434+
"chainName": "BOB",
435+
"icons": {
436+
"mono": "icons/mono/bob.svg",
437+
"full": "icons/full/bob.svg"
438+
}
439+
},
428440
{
429441
"type": [
430442
"asset"

icons/mono/bob.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 { iconBob } from "../../../icons/full/build/icon-bob.icon";
7+
import { IconComponentBaseProps } from "../../../utils";
8+
import { Image } from "../../Base/Image";
9+
10+
const BobIcon = (props: IconComponentBaseProps) => {
11+
return <Image svgCode={iconBob.data} {...props} />;
12+
};
13+
14+
if (process.env.NODE_ENV !== 'production') {
15+
BobIcon.displayName = 'BobIcon';
16+
}
17+
18+
export default BobIcon;

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ export { default as BitskiwalletIcon } from './BitskiwalletIcon';
150150
export { default as BlockwalletIcon } from './BlockwalletIcon';
151151
export { default as BnbsmartchainIcon } from './BnbsmartchainIcon';
152152
export { default as BnbxIcon } from './BnbxIcon';
153+
export { default as BobIcon } from './BobIcon';
153154
export { default as BptIcon } from './BptIcon';
154155
export { default as BravewalletIcon } from './BravewalletIcon';
155156
export { default as BrowserwalletIcon } from './BrowserwalletIcon';
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 { iconBob } from "../../../icons/mono/build/icon-bob.icon";
7+
import { IconComponentBaseProps } from "../../../utils";
8+
import { Image } from "../../Base/Image";
9+
10+
const BobIcon = (props: IconComponentBaseProps) => {
11+
return <Image svgCode={iconBob.data} {...props} />;
12+
};
13+
14+
if (process.env.NODE_ENV !== 'production') {
15+
BobIcon.displayName = 'BobIcon';
16+
}
17+
18+
export default BobIcon;

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ export { default as BitskiwalletIcon } from './BitskiwalletIcon';
150150
export { default as BlockwalletIcon } from './BlockwalletIcon';
151151
export { default as BnbsmartchainIcon } from './BnbsmartchainIcon';
152152
export { default as BnbxIcon } from './BnbxIcon';
153+
export { default as BobIcon } from './BobIcon';
153154
export { default as BptIcon } from './BptIcon';
154155
export { default as BravewalletIcon } from './BravewalletIcon';
155156
export { default as BrowserwalletIcon } from './BrowserwalletIcon';

packages/react-web3-icons/src/helpers/assetsAliases.ts

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const chainsNames: Record<number, string> = {"1":"Ethereum","10":"OP Mainnet","56":"BNB Smart Chain","100":"Gnosis","137":"Polygon","146":"Sonic","250":"Fantom","324":"zkSync Era","420":"Optimism Testnet","1088":"Metis","1101":"Polygon zkEVM","1868":"Soneium","4002":"Fantom Testnet","5000":"Mantle","8453":"Base","42161":"Arbitrum","42220":"Celo","43113":"Avalanche Testnet","43114":"Avalanche","59141":"Linea Sepolia","59144":"Linea","80001":"Mumbai","84532":"Base sepolia testnet","421613":"Arbitrum Goerli","421614":"Arbitrum Sepolia","534351":"Scroll Testnet","534352":"Scroll","11155111":"Sepolia","1666600000":"Harmony One"};
1+
export const chainsNames: Record<number, string> = {"1":"Ethereum","10":"OP Mainnet","56":"BNB Smart Chain","100":"Gnosis","137":"Polygon","146":"Sonic","250":"Fantom","324":"zkSync Era","420":"Optimism Testnet","1088":"Metis","1101":"Polygon zkEVM","1868":"Soneium","4002":"Fantom Testnet","5000":"Mantle","8453":"Base","42161":"Arbitrum","42220":"Celo","43113":"Avalanche Testnet","43114":"Avalanche","59141":"Linea Sepolia","59144":"Linea","60808":"BOB","80001":"Mumbai","84532":"Base sepolia testnet","421613":"Arbitrum Goerli","421614":"Arbitrum Sepolia","534351":"Scroll Testnet","534352":"Scroll","11155111":"Sepolia","1666600000":"Harmony One"};
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/* 🤖 this file was generated by svg-to-ts */
2+
export const iconBob: {
3+
name: 'bob';
4+
data: string;
5+
} = {
6+
name: 'bob',
7+
data: `<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="none" viewBox="0 0 32 32"><g clip-path="url(#bob__clip0_2632_5)"><path fill="#E1672A" d="M16 32c8.84 0 16-7.16 16-16S24.84 0 16 0 0 7.16 0 16s7.16 16 16 16"/><path fill="#E1672A" d="M16 32c8.84 0 16-7.16 16-16S24.84 0 16 0 0 7.16 0 16s7.16 16 16 16"/><path fill="#fff" d="M15.17 5.5h-4.88a.3.3 0 0 0-.3.3v4.88c0 .17.14.3.3.3h4.88a.3.3 0 0 0 .3-.3V5.8a.3.3 0 0 0-.3-.3M9.99 19.52v4.88c0 .17.14.3.3.3h4.88a.3.3 0 0 0 .3-.3v-4.88a.3.3 0 0 0-.3-.3h-4.88a.3.3 0 0 0-.3.3m0-6.85v4.88c0 .17.14.3.3.3h4.88a.3.3 0 0 0 .3-.3v-4.88a.3.3 0 0 0-.3-.3h-4.88a.3.3 0 0 0-.3.3m6.86 6.85v4.88c0 .17.14.3.3.3h4.88a.3.3 0 0 0 .3-.3v-4.88a.3.3 0 0 0-.3-.3h-4.88a.3.3 0 0 0-.3.3m0-6.86v4.88c0 .17.14.3.3.3h4.88a.3.3 0 0 0 .3-.3v-4.88a.3.3 0 0 0-.3-.3h-4.88a.3.3 0 0 0-.3.3"/></g><defs><clipPath id="bob__clip0_2632_5"><path fill="#fff" d="M0 0h32v32H0z"/></clipPath></defs></svg>`,
8+
};

0 commit comments

Comments
 (0)