Skip to content

Commit 2637b70

Browse files
authored
Merge pull request #95 from bgd-labs/feat/combine-asset-and-chain-icon-for-sonic
feat: combine asset and chain for sonic
2 parents d0c31e4 + 337192e commit 2637b70

34 files changed

+234
-29
lines changed

icons/full/as.svg

Lines changed: 1 addition & 0 deletions
Loading

icons/full/s.svg

Lines changed: 1 addition & 0 deletions
Loading

icons/full/sonic.svg

Lines changed: 1 addition & 1 deletion
Loading

icons/full/statas.svg

Lines changed: 1 addition & 0 deletions
Loading

icons/icons.json

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2831,13 +2831,33 @@
28312831
},
28322832
{
28332833
"type": [
2834+
"asset",
28342835
"chain"
28352836
],
2837+
"symbol": "s",
28362838
"chainId": 146,
2839+
"name": "Sonic",
28372840
"chainName": "Sonic",
2841+
"aliases": [
2842+
"S",
2843+
"aEths",
2844+
"stataEths"
2845+
],
2846+
"variations": [
2847+
"aToken",
2848+
"stataToken"
2849+
],
28382850
"icons": {
2839-
"mono": "icons/mono/sonic.svg",
2840-
"full": "icons/full/sonic.svg"
2851+
"mono": "icons/mono/s.svg",
2852+
"full": "icons/full/s.svg",
2853+
"aToken": {
2854+
"mono": "icons/mono/as.svg",
2855+
"full": "icons/full/as.svg"
2856+
},
2857+
"stataToken": {
2858+
"mono": "icons/mono/statas.svg",
2859+
"full": "icons/full/statas.svg"
2860+
}
28412861
}
28422862
},
28432863
{

icons/mono/as.svg

Lines changed: 1 addition & 0 deletions
Loading

icons/mono/s.svg

Lines changed: 1 addition & 0 deletions
Loading

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

0 commit comments

Comments
 (0)