Skip to content

Commit 5fc51f0

Browse files
committed
refactor(components): update ResizableBox component
1 parent 710c756 commit 5fc51f0

File tree

3 files changed

+240
-206
lines changed

3 files changed

+240
-206
lines changed

packages/components/src/components/ResizableBox/ResizableBox.stories.tsx

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ export const ResizableBox: StoryObj<ResizableBoxProps> = {
4141
maxHeight: 300,
4242
disabledWidthInterval: [51, 100],
4343
disabledHeightInterval: undefined,
44-
updateWidthOnWindowResize: false,
45-
updateHeightOnWindowResize: false,
4644
},
4745
argTypes: {
4846
children: {
@@ -65,17 +63,5 @@ export const ResizableBox: StoryObj<ResizableBoxProps> = {
6563
height: { control: 'number' },
6664
minHeight: { control: 'number' },
6765
maxHeight: { control: 'number' },
68-
updateWidthOnWindowResize: {
69-
control: 'boolean',
70-
description:
71-
'Maximize the box width to the window width when resizing window or zooming',
72-
defaultValue: false,
73-
},
74-
updateHeightOnWindowResize: {
75-
control: 'boolean',
76-
description:
77-
'Maximize the box height to the window height when resizing window or zooming',
78-
defaultValue: false,
79-
},
8066
},
8167
};

0 commit comments

Comments
 (0)