File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/components/stories/01-examples Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ import { CommonHeader } from "../Utils";
1111
1212## Resizable space with state controlled size
1313
14- Example of resizable space with state controlled size. By default the size of a resizable
15- space is uncontrolled. Therefore the initial size passed is is only the initial size of
16- a space. To keep the size of a space controlled with state you need to use the
17- onResizeEnd event .
14+ By default the size of a resizable space is uncontrolled. Therefore the initial size passed is is
15+ only the initial size of a space and React Spaces deals with any resizing. To keep the size of a
16+ space controlled in state you need to use the onResizeEnd event to set the new size of a space
17+ after a resize back to a state value .
1818
1919<Preview >
2020 <Story name = " Controlled size" >
@@ -53,4 +53,4 @@ You can cancel a resize by returning `false` from a onResizeStart event handler.
5353 }
5454 }
5555 </Story >
56- </Preview >
56+ </Preview >
You can’t perform that action at this time.
0 commit comments