Skip to content

Commit a6680f1

Browse files
committed
Ensure handle size is passed from space to resize handle component
1 parent fac180d commit a6680f1

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.storybook/preview-head.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,7 @@
3232
.docblock-source {
3333
margin: 25px 0 !important;
3434
}
35+
.spaces-resize-handle {
36+
background-color: red;
37+
}
3538
</style>

src/components/Space.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ export const SpaceInternal: React.FC<AllProps> = React.memo((props) => {
175175
anchor={props.anchor}
176176
parentContext={parentContext}
177177
space={space}
178+
handleSize={handleSize}
178179
spaceElement={spaceElement.current}
179180
minimumSize={props.minimumSize}
180181
maximumSize={props.maximumSize}

0 commit comments

Comments
 (0)