@@ -53,7 +53,7 @@ export const Default: StoryFn< typeof ToolsPanel > = ( {
5353 const [ height , setHeight ] = useState < string | undefined > ( ) ;
5454 const [ minHeight , setMinHeight ] = useState < string | undefined > ( ) ;
5555 const [ width , setWidth ] = useState < string | undefined > ( ) ;
56- const [ scale , setScale ] = useState < React . ReactText | undefined > ( ) ;
56+ const [ scale , setScale ] = useState < number | string | undefined > ( ) ;
5757
5858 const resetAll : typeof resetAllProp = ( filters ) => {
5959 setHeight ( undefined ) ;
@@ -402,7 +402,7 @@ export const WithConditionalDefaultControl: StoryFn< typeof ToolsPanel > = ( {
402402} ) => {
403403 const [ attributes , setAttributes ] = useState < {
404404 height ?: string ;
405- scale ?: React . ReactText ;
405+ scale ?: number | string ;
406406 } > ( { } ) ;
407407 const { height, scale } = attributes ;
408408
@@ -498,7 +498,7 @@ export const WithConditionallyRenderedControl: StoryFn<
498498> = ( { resetAll : resetAllProp , panelId, ...props } ) => {
499499 const [ attributes , setAttributes ] = useState < {
500500 height ?: string ;
501- scale ?: React . ReactText ;
501+ scale ?: number | string ;
502502 } > ( { } ) ;
503503 const { height, scale } = attributes ;
504504
0 commit comments