UNPKG

fui-fancyui

Version:
24 lines (23 loc) 620 B
import { jsx as l } from "react/jsx-runtime"; import y from "../../../atoms/Typography/Typography.js"; import { sizes as c } from "../sizeSettings.js"; function x(e) { const { sizeC: t, fontWeight: n, type: i, lineHeight: r, fontVariant: o, children: a, className: p, themeType: s, layer: m, externalStyle: f } = e; return /* @__PURE__ */ l( y, { elType: i ?? "span", variant: o ?? c[t || "sm"].fontSizeDescription, layer: m, themeType: s, fontWeight: n, lineHeight: r, className: p, externalStyle: f, children: a } ); } export { x as default };