front-react-dnd-html5-backend
Advanced tools
Comparing version 8.0.3-3 to 8.0.3-4
import * as NativeTypes from '../NativeTypes'; | ||
import { getDataFromDataTransfer } from './getDataFromDataTransfer'; | ||
export const nativeTypesConfig = { | ||
[NativeTypes.FRONT_ATTACHMENT]: { | ||
exposeProperties: { | ||
text: (dataTransfer, matchesTypes) => getDataFromDataTransfer(dataTransfer, matchesTypes, ''), | ||
}, | ||
matchesTypes: ['x-front-attachment'], | ||
}, | ||
[NativeTypes.FILE]: { | ||
@@ -5,0 +11,0 @@ exposeProperties: { |
@@ -0,3 +1,4 @@ | ||
export declare const FRONT_ATTACHMENT = "__NATIVE_FRONT_ATTACHMENT__"; | ||
export declare const FILE = "__NATIVE_FILE__"; | ||
export declare const URL = "__NATIVE_URL__"; | ||
export declare const TEXT = "__NATIVE_TEXT__"; |
@@ -0,3 +1,4 @@ | ||
export const FRONT_ATTACHMENT = '__NATIVE_FRONT_ATTACHMENT__'; | ||
export const FILE = '__NATIVE_FILE__'; | ||
export const URL = '__NATIVE_URL__'; | ||
export const TEXT = '__NATIVE_TEXT__'; |
{ | ||
"name": "front-react-dnd-html5-backend", | ||
"version": "8.0.3-3", | ||
"version": "8.0.3-4", | ||
"description": "HTML5 backend for React DnD", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
194310
965