@mantine/dates
Version:
Calendars, date and time pickers based on Mantine components
20 lines (19 loc) • 669 B
JavaScript
"use client";
const require_get_formatted_time = require("./get-formatted-time/get-formatted-time.cjs");
let react_jsx_runtime = require("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__ */ (0, react_jsx_runtime.jsx)(react_jsx_runtime.Fragment, { children: require_get_formatted_time.getFormattedTime({
value,
format,
amPmLabels,
withSeconds
}) });
}
TimeValue.displayName = "@mantine/dates/TimeValue";
//#endregion
exports.TimeValue = TimeValue;
//# sourceMappingURL=TimeValue.cjs.map