Skip to content

Commit 2750ae4

Browse files
author
Hector Arce De Las Heras
committed
Modify control of Font weight on Text component Story
1 parent fb32892 commit 2750ae4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/text/stories/argtypes.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,11 @@ export const argtypes = (
106106
},
107107
weight: {
108108
description: 'Font weight',
109-
type: { name: 'string' },
110-
control: { type: 'text' },
109+
type: { name: 'number' },
110+
control: { type: 'number' },
111111
table: {
112112
type: {
113-
summary: 'string',
113+
summary: 'number',
114114
},
115115
category: CATEGORY_CONTROL.MODIFIERS,
116116
},

0 commit comments

Comments
 (0)