UNPKG

@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)

20 lines 666 B
/* 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'; const activeStyles = null; /** * A drop indicator to be used when dragging over a group of items */ export const GroupDropIndicator = /*#__PURE__*/forwardRef(function GroupDropIndicator({ children, isActive, testId }, forwardedRef) { return /*#__PURE__*/React.createElement("div", { ref: forwardedRef, "data-testid": testId, className: ax([isActive && "_2rkolb4i _bfhk19ip _1cwg12x7 _12y31dm9 _1qu2nqa1 _12jiq98m"]) }, children); });