Skip to content

Commit e6aade6

Browse files
committed
fix iconsShowMode arg in storybook
1 parent c00178d commit e6aade6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/react-storybook/stories/scheduler/SchedulerFormCustomization.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ export const LegacyPopup: Story = {
338338
"editing.form.iconsShowMode": "both",
339339
} as Properties,
340340
argTypes: iconsShowModeArgType,
341-
render: () => {
341+
render: (args) => {
342342
let form: InstanceType<typeof dxForm> | null = null;
343343

344344
const schedulerRef = useRef(null);
@@ -396,7 +396,7 @@ export const LegacyPopup: Story = {
396396
onContentReady: function (e) {
397397
form = e.component;
398398
},
399-
iconsShowMode: "both",
399+
iconsShowMode: args["editing.form.iconsShowMode"],
400400
items: [
401401
{
402402
name: "mainGroup",

0 commit comments

Comments
 (0)