UNPKG

@brightsoftware/date-np

Version:

Simple & minimal Nepali date picker that just works.

25 lines (24 loc) 532 B
import { jsxs as s, jsx as l } from "react/jsx-runtime"; import { cn as c } from "../../utils/clsx.js"; const m = (e) => { const { required: i = !1, className: t = "", children: a, ...r } = e; return /* @__PURE__ */ s( "label", { className: c("text-sm font-[400] text-t-300 dark:text-gray-500 capitalize", t), ...r, children: [ a, e.required && /* @__PURE__ */ l("span", { className: "text-red-500", children: " * " }) ] } ); }; export { m as default };