Skip to content

Commit 037890c

Browse files
Update changelog (dragoverlay function child form).
1 parent 32b6907 commit 037890c

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,16 @@ changes in this release - see below for details.
3535
});
3636
```
3737

38+
- Support using function element form for `DragOverlay` children. This enables
39+
referencing the related `Draggable` directly without the need to track
40+
separately. For example:
41+
42+
```jsx
43+
<DragOverlay>
44+
{(draggable) => <div>Draggable {draggable.id}</div>}
45+
</DragOverlay>
46+
```
47+
3848
### Changed
3949

4050
- **Breaking Change** Refactor core to lean more into reactivity.

0 commit comments

Comments
 (0)