@@ -2,22 +2,22 @@ import { Meta, StoryFn } from '@storybook/react';
22import { useState } from 'react' ;
33
44import { Panel } from './Panel' ;
5- import { ResizablePanel , ResizablePanelProps } from './ResizablePanel' ;
5+ import { ResizablePanel , CubeResizablePanelProps } from './ResizablePanel' ;
66
77export default {
88 title : 'Layout/ResizablePanel' ,
99 component : ResizablePanel ,
1010 args : { } ,
11- } as Meta < ResizablePanelProps > ;
11+ } as Meta < CubeResizablePanelProps > ;
1212
13- const TemplateRight : StoryFn < ResizablePanelProps > = ( args ) => (
13+ const TemplateRight : StoryFn < CubeResizablePanelProps > = ( args ) => (
1414 < Panel isFlex isStretched height = "min 30x" fill = "#white" >
1515 < ResizablePanel { ...args } />
1616 < Panel fill = "#light" > </ Panel >
1717 </ Panel >
1818) ;
1919
20- const TemplateLeft : StoryFn < ResizablePanelProps > = ( args ) => {
20+ const TemplateLeft : StoryFn < CubeResizablePanelProps > = ( args ) => {
2121 return (
2222 < Panel isFlex isStretched height = "min 30x" fill = "#white" >
2323 < Panel fill = "#light" > </ Panel >
@@ -26,14 +26,14 @@ const TemplateLeft: StoryFn<ResizablePanelProps> = (args) => {
2626 ) ;
2727} ;
2828
29- const TemplateBottom : StoryFn < ResizablePanelProps > = ( args ) => (
29+ const TemplateBottom : StoryFn < CubeResizablePanelProps > = ( args ) => (
3030 < Panel isFlex isStretched flow = "column" height = "min 30x" fill = "#white" >
3131 < ResizablePanel { ...args } />
3232 < Panel fill = "#light" > </ Panel >
3333 </ Panel >
3434) ;
3535
36- const TemplateTop : StoryFn < ResizablePanelProps > = ( args ) => {
36+ const TemplateTop : StoryFn < CubeResizablePanelProps > = ( args ) => {
3737 return (
3838 < Panel isFlex isStretched flow = "column" height = "min 30x" fill = "#white" >
3939 < Panel fill = "#light" > </ Panel >
@@ -42,7 +42,7 @@ const TemplateTop: StoryFn<ResizablePanelProps> = (args) => {
4242 ) ;
4343} ;
4444
45- const TemplateControllable : StoryFn < ResizablePanelProps > = ( args ) => {
45+ const TemplateControllable : StoryFn < CubeResizablePanelProps > = ( args ) => {
4646 const [ size , setSize ] = useState ( 200 ) ;
4747
4848 return (
0 commit comments