@@ -63,35 +63,35 @@ export interface DropZoneConfig extends StyledContainerConfig {
6363 * instance
6464 Return value is written into dragDropEvent.result and can be passed
6565 to the source's onDragEnd callback. */
66- onDrop ?: string | ( ( event ? : DragEvent , instance ? : Instance ) => any ) ;
66+ onDrop ?: string | ( ( event : DragEvent , instance : Instance ) => any ) ;
6767
6868 /** A callback method used to test if dragged item (source) is compatible
6969 with the drop zone. */
70- onDropTest ?: string | ( ( event ? : DragEvent , instance ? : Instance ) => boolean ) ;
70+ onDropTest ?: string | ( ( event : DragEvent , instance : Instance ) => boolean ) ;
7171
7272 /** A callback method invoked when the dragged item gets close to the drop zone.
7373 See also `nearDistance`. */
74- onDragNear ?: string | ( ( event ? : DragEvent , instance ? : Instance ) => void ) ;
74+ onDragNear ?: string | ( ( event : DragEvent , instance : Instance ) => void ) ;
7575
7676 /** A callback method invoked when the dragged item is dragged away. */
77- onDragAway ?: string | ( ( event ? : DragEvent , instance ? : Instance ) => void ) ;
77+ onDragAway ?: string | ( ( event : DragEvent , instance : Instance ) => void ) ;
7878
7979 /** A callback method invoked when the dragged item is dragged over the drop zone.
8080 The callback is called for each `mousemove` or `touchmove` event. */
81- onDragOver ?: string | ( ( event ? : DragEvent , instance ? : Instance ) => void ) ;
81+ onDragOver ?: string | ( ( event : DragEvent , instance : Instance ) => void ) ;
8282
8383 /** A callback method invoked when the dragged item is dragged over the drop zone
8484 for the first time. */
85- onDragEnter ?: string | ( ( event ? : DragEvent , instance ? : Instance ) => void ) ;
85+ onDragEnter ?: string | ( ( event : DragEvent , instance : Instance ) => void ) ;
8686
8787 /** A callback method invoked when the dragged item leaves the drop zone area. */
88- onDragLeave ?: string | ( ( event ? : DragEvent , instance ? : Instance ) => void ) ;
88+ onDragLeave ?: string | ( ( event : DragEvent , instance : Instance ) => void ) ;
8989
9090 /** A callback method invoked when at the beginning of the drag & drop operation. */
91- onDragStart ?: string | ( ( event ? : DragEvent , instance ? : Instance ) => void ) ;
91+ onDragStart ?: string | ( ( event : DragEvent , instance : Instance ) => void ) ;
9292
9393 /** A callback method invoked when at the end of the drag & drop operation. */
94- onDragEnd ?: string | ( ( event ? : DragEvent , instance ? : Instance ) => void ) ;
94+ onDragEnd ?: string | ( ( event : DragEvent , instance : Instance ) => void ) ;
9595
9696 /** Match height of the item being dragged */
9797 matchHeight ?: boolean ;
0 commit comments