@frontify/fondue
Version:
Design system of Frontify
14 lines (13 loc) • 366 B
JavaScript
import { jsxs as e, jsx as o } from "react/jsx-runtime";
const c = (r) => {
const t = r.split(`
`);
return t.map((n, s) => /* @__PURE__ */ e("span", { children: [
t.length > 1 && s === 0 ? /* @__PURE__ */ o("strong", { children: n }) : n,
/* @__PURE__ */ o("br", {})
] }, n));
};
export {
c as getTooltip
};
//# sourceMappingURL=getTooltip.es.js.map