Skip to content

Commit

Permalink
chore(@clayui/form): Storybook SF
Browse files Browse the repository at this point in the history
  • Loading branch information
pat270 committed Aug 20, 2024
1 parent 9a39146 commit bd67e2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/clay-form/stories/DualListBox.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ export const Default = (args: any) => {

return (
<ClayDualListBox
disabled={args.disabled}
disableLTR={
args.disableLTR ||
secondSelectBoxItems.length >= args.rightMaxItems
Expand All @@ -75,6 +74,7 @@ export const Default = (args: any) => {
args.disableRTL ||
firstSelectBoxItems.length >= args.leftMaxItems
}
disabled={args.disabled}
items={items}
left={{
id: 'leftSelectBox',
Expand All @@ -95,9 +95,9 @@ export const Default = (args: any) => {
};

Default.args = {
disabled: false,
disableLTR: false,
disableRTL: false,
disabled: false,
leftMaxItems: 5,
rightMaxItems: 3,
};

0 comments on commit bd67e2a

Please sign in to comment.