@@ -7,9 +7,9 @@ import {createCSSTransform, createSVGTransform} from './utils/domFns';
77import { canDragX , canDragY , createDraggableData , getBoundPosition } from './utils/positionFns' ;
88import { dontSetMe } from './utils/shims' ;
99import DraggableCore from './DraggableCore' ;
10- import type { ControlPosition , PositionOffsetControlPosition , DraggableBounds , DraggableCoreProps } from './DraggableCore' ;
10+ import type { ControlPosition , PositionOffsetControlPosition , DraggableCoreProps } from './DraggableCore' ;
1111import log from './utils/log' ;
12- import type { DraggableEventHandler } from './utils/types' ;
12+ import type { Bounds , DraggableEventHandler } from './utils/types' ;
1313import type { Element as ReactElement } from 'react' ;
1414
1515type DraggableState = {
@@ -24,7 +24,7 @@ type DraggableState = {
2424export type DraggableProps = {
2525 ...$Exact < DraggableCoreProps > ,
2626 axis : 'both' | 'x' | 'y' | 'none' ,
27- bounds : DraggableBounds | string | false ,
27+ bounds : Bounds | string | false ,
2828 defaultClassName : string ,
2929 defaultClassNameDragging : string ,
3030 defaultClassNameDragged : string ,
0 commit comments