UNPKG

@brightsoftware/date-np

Version:

Simple & minimal Nepali date picker that just works.

10 lines (9 loc) 465 B
import { jsx as e, Fragment as m } from "react/jsx-runtime"; import { usePicker as n } from "../hooks/usePicker.js"; const s = () => { const { pickerState: t } = n(); return t.locale, /* @__PURE__ */ e(m, { children: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"].map((r, i) => /* @__PURE__ */ e("div", { className: "w-full h-full grid place-items-center font-medium text-gray-500 text-sm tracking-wide", children: r }, i)) }); }; export { s as WeekRow };