mongodb-chatbot-ui
Version:
UI React components for the MongoDB Assistant
16 lines (15 loc) • 1.71 kB
JavaScript
import { t as g, a as d, i as E, e as i, r as w, n as b } from "./glyphCommon-cTThlth0.js";
import * as r from "react";
import { b as z, m as f, n as k } from "./index2.js";
var L, c, R = ["className", "size", "title", "aria-label", "aria-labelledby", "fill", "role"], C = function(e) {
var u = e.className, t = e.size, l = t === void 0 ? 16 : t, a = e.title, v = e["aria-label"], y = e["aria-labelledby"], o = e.fill, n = e.role, m = n === void 0 ? "img" : n, h = g(e, R), s = z({ prefix: "icon-title" }), p = f(L || (L = d([`
color: `, `;
`])), o), x = f(c || (c = d([`
flex-shrink: 0;
`]))), N = E(m, "X", i(i({ title: a, titleId: s }, "aria-label", v), "aria-labelledby", y));
return r.createElement("svg", w({ className: k(i({}, p, o != null), x, u), height: typeof l == "number" ? l : b[l], width: typeof l == "number" ? l : b[l], role: m }, N, h, { viewBox: "0 0 16 16" }), a && r.createElement("title", { id: s }, a), r.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12.2028 3.40381C11.8123 3.01329 11.1791 3.01329 10.7886 3.40381L8.3137 5.87869L5.83883 3.40381C5.44831 3.01329 4.81514 3.01329 4.42462 3.40381L3.71751 4.11092C3.32699 4.50144 3.32699 5.13461 3.71751 5.52513L6.19238 8.00001L3.71751 10.4749C3.32699 10.8654 3.32699 11.4986 3.71751 11.8891L4.42462 12.5962C4.81514 12.9867 5.44831 12.9867 5.83883 12.5962L8.3137 10.1213L10.7886 12.5962C11.1791 12.9867 11.8123 12.9867 12.2028 12.5962L12.9099 11.8891C13.3004 11.4986 13.3004 10.8654 12.9099 10.4749L10.435 8.00001L12.9099 5.52513C13.3004 5.13461 13.3004 4.50144 12.9099 4.11092L12.2028 3.40381Z", fill: "currentColor" }));
};
C.displayName = "X", C.isGlyph = !0;
export {
C as p
};