@atlaskit/pragmatic-drag-and-drop-react-drop-indicator
Version:
An optional Pragmatic drag and drop package containing react components that provide a visual indication about what the user will achieve when the drop (eg lines)
19 lines • 718 B
JavaScript
/* group.tsx generated by @compiled/babel-plugin v0.39.1 */
import "./group.compiled.css";
import * as React from 'react';
import { ax, ix } from "@compiled/react/runtime";
import { forwardRef } from 'react';
var activeStyles = null;
/**
* A drop indicator to be used when dragging over a group of items
*/
export var GroupDropIndicator = /*#__PURE__*/forwardRef(function GroupDropIndicator(_ref, forwardedRef) {
var children = _ref.children,
isActive = _ref.isActive,
testId = _ref.testId;
return /*#__PURE__*/React.createElement("div", {
ref: forwardedRef,
"data-testid": testId,
className: ax([isActive && "_2rkolb4i _bfhk19ip _1cwg12x7 _12y31dm9 _1qu2nqa1 _12jiq98m"])
}, children);
});