UNPKG

@mantine/dates

Version:

Calendars, date and time pickers based on Mantine components

20 lines (19 loc) 578 B
"use client"; import { getFormattedTime } from "./get-formatted-time/get-formatted-time.mjs"; import { Fragment, jsx } from "react/jsx-runtime"; //#region packages/@mantine/dates/src/components/TimeValue/TimeValue.tsx function TimeValue({ value, format = "24h", amPmLabels = { am: "AM", pm: "PM" }, withSeconds = false }) { return /* @__PURE__ */ jsx(Fragment, { children: getFormattedTime({ value, format, amPmLabels, withSeconds }) }); } TimeValue.displayName = "@mantine/dates/TimeValue"; //#endregion export { TimeValue }; //# sourceMappingURL=TimeValue.mjs.map