fui-fancyui
Version:
FancyUI Libary
24 lines (23 loc) • 624 B
JavaScript
import { jsx as m } from "react/jsx-runtime";
import y from "../../../atoms/Typography/Typography.js";
import { sizes as h } from "../sizeSettings.js";
function d(e) {
const { sizeC: t, fontWeight: n, fontVariant: i, type: o, children: r, lineHeight: a, className: l, themeType: p, layer: f, externalStyle: s } = e;
return /* @__PURE__ */ m(
y,
{
elType: o ?? "span",
variant: i ?? h[t || "lg"].fontSizeTitle,
fontWeight: n ?? "bold",
className: l,
themeType: p,
layer: f,
lineHeight: a,
externalStyle: s,
children: r
}
);
}
export {
d as default
};