@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration
Version:
An optional Pragmatic drag and drop package that enables rapid migration from react-beautiful-dnd to Pragmatic drag and drop
10 lines (9 loc) • 1.99 kB
TypeScript
export { DragDropContext } from './drag-drop-context';
export { Draggable } from './draggable';
export { Droppable } from './droppable';
export { resetServerContext } from './reset-server-context';
/**
* Reason: The eslint rule is incorrectly reporting that `react-beautiful-dnd`
* is required as a dependency, when only its types are being exported.
*/
export type { Announce, Axis, BeforeCapture, BoxModel, ClientPositions, CollectingState, Combine, CombineImpact, CompletedDrag, ContextId, Critical, DimensionMap, Direction, Displaced, DisplacedBy, Displacement, DisplacementGroups, DisplacementMap, DragActions, DragDropContextProps, DragImpact, DragPositions, DragStart, DragUpdate, DraggableChildrenFn, DraggableDescriptor, DraggableDimension, DraggableDimensionMap, DraggableId, DraggableIdMap, DraggableLocation, DraggableOptions, DraggableProps, DraggableProvided, DraggableProvidedDragHandleProps, DraggableProvidedDraggableProps, DraggableRubric, DraggableStateSnapshot, DraggingState, DraggingStyle, DropAnimatingState, DropAnimation, DropPendingState, DropReason, DropResult, DroppableDescriptor, DroppableDimension, DroppableDimensionMap, DroppableId, DroppableIdMap, DroppableMode, DroppableProps, DroppableProvided, DroppableProvidedProps, DroppablePublish, DroppableStateSnapshot, DroppableSubject, ElementId, FluidDragActions, HorizontalAxis, Id, IdleState, ImpactLocation, InOutAnimationMode, LiftEffect, LiftRequest, MovementMode, NotDraggingStyle, OnBeforeCaptureResponder, OnBeforeDragStartResponder, OnDragEndResponder, OnDragStartResponder, OnDragUpdateResponder, PagePositions, Placeholder, PlaceholderInSubject, Position, PreDragActions, Published, Rect, ReorderImpact, ResponderProvided, Responders, ScrollDetails, ScrollDifference, ScrollOptions, ScrollSize, Scrollable, Sensor, SensorAPI, SnapDragActions, Spacing, State, StateWhenUpdatesAllowed, StopDragOptions, TryGetLock, TryGetLockOptions, TypeId, VerticalAxis, Viewport, } from 'react-beautiful-dnd';