TypeScript react-dnd cheat sheet
TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. This is a list of TypeScript types for react-dnd generated from the declaration files in https://github.com/react-dnd/react-dnd/tree/v14.0.2.
See also my TypeScript React cheat sheet and TypeScript cheat sheet.
External Links
- Built-ins
- DOM
- ES5, ES2015-ES2020, ESNext
- Node.js
- Script Host
- Web Worker
- axios
- date-fns
- expo
- immer
- next
- react
- react-apollo
- react-beautiful-dnd
- react-dom
- react-dom/server
- react-dom/test-utils
- react-native
- react-navigation
- react-redux
- react-relay
- react-router-dom
- react-select
- react-spring
- react-window
- reactstrap
- recoil
- redux
- relay-runtime
- styled-components
react-dnd
- * from "./core"
- * from "./DndContext"
- DndContext (var)
- DndContextType (interface)
- * from "./DndProvider"
- DndProvider (var)
- DndProviderProps<BackendContext, BackendOptions> (type)
- global (var)
- * from "./DragPreviewImage"
- DragPreviewImage (var)
- DragPreviewImageProps (interface)
- * from "./DndContext"
- * from "./decorators"
- * from "./DragLayer"
- DragLayer (function)
- * from "./DragSource"
- DragSource (function)
- * from "./DropTarget"
- DropTarget (function)
- * from "./types"
- DndComponent<Props> (interface)
- DndComponentClass<C extends ComponentType, P> (type)
- DndComponentEnhancer<CollectedProps> (type)
- DndOptions<Props> (interface)
- DragLayerCollector<TargetProps, CollectedProps> (type)
- DragSourceCollector<CollectedProps, TargetProps> (type)
- DragSourceConnector (interface)
- DragSourceSpec<Props, DragObject, DropResult> (interface)
- DropTargetCollector<CollectedProps, TargetProps> (type)
- DropTargetConnector (interface)
- DropTargetSpec<Props, DragObject, DropResult> (interface)
- GetProps<C> (type)
- Matching<InjectedProps, DecorationTargetProps> (type)
- Omit<T, K> (type)
- Shared<InjectedProps, DecorationTargetProps> (type)
- * from "./DragLayer"
- * from "./hooks"
- * from "./types"
- DragObjectFactory<T> (type)
- DragSourceHookSpec<DragObject, DropResult, CollectedProps> (interface)
- DropTargetHookSpec<DragObject, DropResult, CollectedProps> (interface)
- FactoryOrInstance<T> (type)
- * from "./useDrag"
- * from "./useDrag"
- useDrag (function)
- * from "./useDrag"
- * from "./useDragDropManager"
- useDragDropManager (function)
- * from "./useDragLayer"
- useDragLayer (function)
- * from "./useDrop"
- * from "./useDrop"
- useDrop (function)
- * from "./useDrop"
- * from "./types"
- * from "./types"
- * from "./connectors"
- ConnectableElement (type)
- ConnectDragPreview (type)
- ConnectDragSource (type)
- ConnectDropTarget (type)
- DragElementWrapper<Options> (type)
- * from "./monitors"
- DragLayerMonitor (interface)
- DragSourceMonitor<DragObject, DropResult> (interface)
- DropTargetMonitor<DragObject, DropResult> (interface)
- HandlerManager (interface)
- MonitorEventEmitter (interface)
- XYCoord (interface)
- * from "./options"
- DragPreviewOptions (interface)
- DragSourceOptions (interface)
- DropTargetOptions (type)
- * from "./connectors"
react-dnd-html5-backend
- getEmptyImage ‹ getEmptyImage (function)
- HTML5Backend (var)
- HTML5BackendContext ‹ HTML5BackendContext (type)
- HTML5BackendOptions ‹ HTML5BackendOptions (interface)
- NativeTypes ‹ NativeTypes
react-dnd-test-backend
- * from "./TestBackend"
- TestBackendImpl (class)
- * from "./types"
- ITestBackend (interface)
- TestBackendContext (interface)
- TestBackendOptions (interface)
- TestBackend (var)
react-dnd-touch-backend
- * from "./TouchBackendImpl"
- TouchBackendImpl (class)
- TouchBackend (var)