Skip to content

Commit 6f121ee

Browse files
fix(Icon.stories.tsx): fix icon set
1 parent 1e24969 commit 6f121ee

File tree

2 files changed

+23
-6
lines changed

2 files changed

+23
-6
lines changed

src/components/icons/Icons.stories.tsx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { HighlightDarkIcon } from "./HighlightDarkIcon"
88
import { HighlightIcon } from "./HighlightIcon"
99
import {
1010
CorrectIcon,
11+
GreenTickIcon,
1112
IncorrectIcon,
1213
StarConfettiIcon,
1314
TrophyIcon,
@@ -31,15 +32,20 @@ import {
3132
AuditedIcon,
3233
AvadoGlyphIcon,
3334
BattleTestedIcon,
35+
BedrockGlyphIcon,
3436
BugBountyIcon,
3537
CautionProductGlyphIcon,
38+
ChainLaboGlyphIcon,
39+
ConsensysStakingGlyphIcon,
3640
DefaultOpenSourceGlyphIcon,
3741
DockerGlyphIcon,
3842
EconomicalIcon,
3943
EthpoolGlyphIcon,
44+
EverstakeGlyphIcon,
4045
FigmentGlyphIcon,
4146
GreenCheckProductGlyphIcon,
4247
KilnGlyphIcon,
48+
LaunchnodesGlyphIcon,
4349
LidoGlyphIcon,
4450
LiquidityTokenIcon,
4551
MultiClientIcon,
@@ -49,6 +55,8 @@ import {
4955
RocketPoolGlyphIcon,
5056
RockXGlyphIcon,
5157
SelfCustodyIcon,
58+
SenseiNodeGlyphIcon,
59+
SquidGlyphIcon,
5260
StafiGlyphIcon,
5361
StakefishGlyphIcon,
5462
StakewiseGlyphIcon,
@@ -98,6 +106,7 @@ export default meta
98106
const iconsDefinitions = [
99107
CorrectIcon,
100108
IncorrectIcon,
109+
GreenTickIcon,
101110
StarConfettiIcon,
102111
TrophyIcon,
103112
DappnodeIcon,
@@ -116,17 +125,22 @@ const iconsDefinitions = [
116125
AuditedIcon,
117126
AvadoGlyphIcon,
118127
BattleTestedIcon,
128+
BedrockGlyphIcon,
119129
BugBountyIcon,
120130
CautionProductGlyphIcon,
131+
ChainLaboGlyphIcon,
132+
ConsensysStakingGlyphIcon,
121133
StakingDappnodeGlyphIcon,
122134
DefaultOpenSourceGlyphIcon,
123135
DockerGlyphIcon,
124136
EconomicalIcon,
125137
EthpoolGlyphIcon,
138+
EverstakeGlyphIcon,
126139
FigmentGlyphIcon,
127140
GreenCheckProductGlyphIcon,
128141
P2PGlyphIcon,
129142
KilnGlyphIcon,
143+
LaunchnodesGlyphIcon,
130144
LidoGlyphIcon,
131145
LiquidityTokenIcon,
132146
MultiClientIcon,
@@ -135,6 +149,7 @@ const iconsDefinitions = [
135149
RocketPoolGlyphIcon,
136150
RockXGlyphIcon,
137151
SelfCustodyIcon,
152+
SenseiNodeGlyphIcon,
138153
StafiGlyphIcon,
139154
StakefishGlyphIcon,
140155
StakewiseGlyphIcon,
@@ -144,6 +159,7 @@ const iconsDefinitions = [
144159
StakingGlyphEtherCircleIcon,
145160
StakingGlyphTokenWalletIcon,
146161
StereumGlyphIcon,
162+
SquidGlyphIcon,
147163
TrustlessIcon,
148164
UnknownProductGlyphIcon,
149165
WagyuGlyphIcon,
Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
import * as React from "react"
2-
import { IconBase, type IconType } from "react-icons/lib"
1+
import { createIconBase } from "../icon-base"
32

4-
export const GreenTickIcon: IconType = (props) => (
5-
<IconBase viewBox="0 0 16 16" {...props}>
3+
export const GreenTickIcon = createIconBase({
4+
displayName: "GreenTickIcon",
5+
viewBox: "0 0 16 16",
6+
children: (
67
<g>
78
<rect width={16} height={16} fill="#c8f7d8" rx={8} />
89
<path
910
fill="#0a7146"
1011
d="M7.446 11.641 4 8.567l1.214-1.539 2.232 1.539 3.408-3.848 1.646.989-5.054 5.933Z"
1112
/>
1213
</g>
13-
</IconBase>
14-
)
14+
),
15+
})

0 commit comments

Comments
 (0)