We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13c1506 commit 4265cbbCopy full SHA for 4265cbb
src/components/layout/ResizablePanel.stories.tsx
@@ -57,6 +57,13 @@ const TemplateControllable: StoryFn<CubeResizablePanelProps> = (args) => {
57
);
58
};
59
60
+const GridTemplate: StoryFn<CubeResizablePanelProps> = (args) => (
61
+ <Panel isStretched height="min 30x" fill="#white" gridColumns="auto 1fr">
62
+ <ResizablePanel size={300} {...args} />
63
+ <Panel fill="#light"></Panel>
64
+ </Panel>
65
+);
66
+
67
export const ResizeRight = TemplateRight.bind({});
68
ResizeRight.args = {
69
direction: 'right',
@@ -86,3 +93,9 @@ export const Disabled = TemplateRight.bind({});
86
93
Disabled.args = {
87
94
isDisabled: true,
88
95
96
97
+export const InGridLayout = GridTemplate.bind({});
98
+InGridLayout.args = {
99
+ direction: 'right',
100
+ maxSize: 500,
101
+};
0 commit comments