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)

15 lines (14 loc) 367 B
import React from 'react'; import { Border } from './internal/border'; import { presetStrokeColors } from './presets'; export function DropIndicator({ appearance = 'default', indent }) { return /*#__PURE__*/React.createElement(Border, { strokeColor: presetStrokeColors[appearance], indent: indent }); } // For React.lazy export default DropIndicator;