Skip to content

Commit 0d0140a

Browse files
Merge pull request #93 from pardeshirzadeh/drag-overlay-children
Fixed the children prop for DragOverlay
2 parents 6e34547 + 172bfe6 commit 0d0140a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/drag-overlay.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interface DragOverlayProps {
1111
style?: JSX.CSSProperties;
1212
}
1313

14-
const DragOverlay: ParentComponent<DragOverlayProps> = (props) => {
14+
const DragOverlay = (props: DragOverlayProps) => {
1515
const [state, { onDragStart, onDragEnd, setOverlay, clearOverlay }] =
1616
useDragDropContext()!;
1717

0 commit comments

Comments
 (0)