UNPKG

react-beautiful-dnd

Version:

Beautiful, accessible drag and drop for lists with React.js

24 lines (21 loc) 462 B
// @flow import type { DraggableId, Position, DragImpact, DroppableDimension, DraggableDimensionMap, } from '../../types'; export type Args = {| isMovingForward: boolean, draggableId: DraggableId, impact: DragImpact, droppable: DroppableDimension, draggables: DraggableDimensionMap, |} export type Result = {| // the new page center position of the element pageCenter: Position, // the impact of the movement impact: DragImpact, |}