UNPKG

@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

16 lines (14 loc) 443 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.findPlaceholder = findPlaceholder; var _attributes = require("./attributes"); var _findElement = require("./find-element"); // eslint-disable-next-line import/no-extraneous-dependencies function findPlaceholder(contextId) { return (0, _findElement.findElement)({ attribute: _attributes.attributes.placeholder.contextId, value: contextId }); }