mongodb-chatbot-ui
Version:
UI React components for the MongoDB Assistant
16 lines (15 loc) • 1.62 kB
JavaScript
import { t as N, a as s, i as g, e as a, r as E, n as C } from "./glyphCommon-cTThlth0.js";
import * as r from "react";
import { b as w, m as b, n as z } from "./index2.js";
var f, p, M = ["className", "size", "title", "aria-label", "aria-labelledby", "fill", "role"], h = function(e) {
var u = e.className, t = e.size, l = t === void 0 ? 16 : t, i = e.title, v = e["aria-label"], d = e["aria-labelledby"], o = e.fill, n = e.role, m = n === void 0 ? "img" : n, y = N(e, M), c = w({ prefix: "icon-title" }), k = b(f || (f = s([`
color: `, `;
`])), o), x = b(p || (p = s([`
flex-shrink: 0;
`]))), L = g(m, "CheckmarkWithCircle", a(a({ title: i, titleId: c }, "aria-label", v), "aria-labelledby", d));
return r.createElement("svg", E({ className: z(a({}, k, o != null), x, u), height: typeof l == "number" ? l : C[l], width: typeof l == "number" ? l : C[l], role: m }, L, y, { viewBox: "0 0 16 16" }), i && r.createElement("title", { id: c }, i), r.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C4.13401 1 1 4.13401 1 8C1 11.866 4.13401 15 8 15ZM10.4485 4.89583C10.8275 4.45816 11.4983 4.43411 11.9077 4.84352C12.2777 5.21345 12.2989 5.80633 11.9564 6.2018L7.38365 11.4818C7.31367 11.5739 7.22644 11.6552 7.12309 11.7208C6.65669 12.0166 6.03882 11.8783 5.74302 11.4119L3.9245 8.54448C3.6287 8.07809 3.767 7.46021 4.2334 7.16442C4.69979 6.86863 5.31767 7.00693 5.61346 7.47332L6.71374 9.20819L10.4485 4.89583Z", fill: "currentColor" }));
};
h.displayName = "CheckmarkWithCircle", h.isGlyph = !0;
export {
h as d
};