Skip to content

Commit 21440c5

Browse files
add story
1 parent f00fa5d commit 21440c5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

stories/demos/Badge.story.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export const WithCustomIconPosition = () => (
158158
/>
159159
);
160160

161-
export const WithCustomTextAndColor = () => (
161+
export const WithCustomTextAndOpacity = () => (
162162
<GraphCanvas
163163
nodes={simpleNodes}
164164
edges={simpleEdges}
@@ -179,10 +179,13 @@ export const WithCustomTextAndColor = () => (
179179
radius={0.3}
180180
iconPosition="start"
181181
position={[0, -10, 0]}
182-
opacity={0.6}
182+
opacity={0.4}
183183
strokeWidth={0.03}
184+
fontWeight={700}
185+
fontSize={0.4}
184186
/>
185187
</group>
186188
)}
187189
/>
188190
);
191+

0 commit comments

Comments
 (0)