Skip to content

Commit

Permalink
Form stories : disable layout control and add condition for icon control
Browse files Browse the repository at this point in the history
  • Loading branch information
JeanMarcMilletScality committed Nov 10, 2023
1 parent 60ab407 commit da6db7d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stories/form.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export default {
subTitle: 'Some Subtitle',
},
argTypes: {
layout: { control: false },
kind: {
options: ['page', 'tab'],
control: { type: 'radio' },
Expand All @@ -33,6 +34,7 @@ export default {
control: {
type: 'select',
},
if: { arg: 'kind', eq: 'page' },
},
title: {
control: 'text',
Expand Down

0 comments on commit da6db7d

Please sign in to comment.