Skip to content

Commit 8c755e5

Browse files
committed
fix: show args conditionally in pord
1 parent e61f7b8 commit 8c755e5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

packages/bezier-react/src/components/Slider/Slider.stories.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,18 @@ const meta: Meta<typeof Slider> = {
1616
onValueCommit: {
1717
action: 'onValueCommit',
1818
},
19+
value: {
20+
if: {
21+
exists: true,
22+
arg: 'value',
23+
},
24+
},
25+
defaultValue: {
26+
if: {
27+
exists: true,
28+
arg: 'defaultValue',
29+
},
30+
},
1931
},
2032
args: {
2133
width: 285,

0 commit comments

Comments
 (0)