Blame view

天文台pc/tianwentai-ui/node_modules/react-dnd-html5-backend/src/index.ts 611 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  import type { BackendFactory, DragDropManager } from 'dnd-core'
  
  import { HTML5BackendImpl } from './HTML5BackendImpl.js'
  import type { HTML5BackendContext, HTML5BackendOptions } from './types.js'
  export { getEmptyImage } from './getEmptyImage.js'
  export * as NativeTypes from './NativeTypes.js'
  export type { HTML5BackendContext, HTML5BackendOptions } from './types.js'
  
  export const HTML5Backend: BackendFactory = function createBackend(
  	manager: DragDropManager,
  	context?: HTML5BackendContext,
  	options?: HTML5BackendOptions,
  ): HTML5BackendImpl {
  	return new HTML5BackendImpl(manager, context, options)
  }