koval-ui
Version:
React components collection with minimalistic design. Supports theming, layout, and input validation.
33 lines (32 loc) • 634 B
JavaScript
"use client";
import { jsx as e } from "react/jsx-runtime";
import { forwardRef as p } from "react";
import l from "classnames";
import a from "./Text.module.css.js";
const f = p(
({ children: o, className: m, hyphens: r = "none", ...s }, t) => /* @__PURE__ */ e(
"p",
{
...s,
className: l(
a.paragraph,
{
[a.manual]: r === "manual"
/* manual */
},
{
[a.auto]: r === "auto"
/* auto */
},
m
),
ref: t,
children: o
}
)
);
f.displayName = "P";
export {
f as P
};
//# sourceMappingURL=Paragraph.js.map