@react-awesome-query-builder/ui
Version:
User-friendly query builder for React. Core React UI
11 lines • 307 B
JavaScript
import React from "react";
import { DragIcon } from "../../../utils";
export default (function (_ref) {
var type = _ref.type;
var typeToIcon = {};
var icon = typeToIcon[type] || null;
if (!icon && type === "drag") {
icon = /*#__PURE__*/React.createElement(DragIcon, null);
}
return icon;
});