synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
23 lines (22 loc) • 723 B
JavaScript
import { jsx as e, jsxs as r } from "react/jsx-runtime";
import { Close as n } from "@mui/icons-material";
import { Tooltip as c } from "@mui/material";
function p(t) {
const { innerText: i, tooltipText: l, onRemoveFilter: o } = t;
return /* @__PURE__ */ e(c, { title: l, placement: "top", children: /* @__PURE__ */ r("div", { className: "SelectionCriteriaPill", children: [
/* @__PURE__ */ e("span", { children: i }),
/* @__PURE__ */ e(
"button",
{
onClick: o,
className: "SelectionCriteriaPill__btnRemove",
title: "deselect",
children: /* @__PURE__ */ e(n, {})
}
)
] }) });
}
export {
p as default
};
//# sourceMappingURL=SelectionCriteriaPill.js.map