mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-27 17:50:56 +00:00
19 lines
550 B
JavaScript
19 lines
550 B
JavaScript
'use client';
|
|
'use strict';
|
|
|
|
var jsxRuntime = require('react/jsx-runtime');
|
|
var getFormattedTime = require('./get-formatted-time/get-formatted-time.cjs');
|
|
|
|
function TimeValue({
|
|
value,
|
|
format = "24h",
|
|
amPmLabels = { am: "AM", pm: "PM" },
|
|
withSeconds = false
|
|
}) {
|
|
return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: getFormattedTime.getFormattedTime({ value, format, amPmLabels, withSeconds }) });
|
|
}
|
|
TimeValue.displayName = "@mantine/dates/TimeValue";
|
|
|
|
exports.TimeValue = TimeValue;
|
|
//# sourceMappingURL=TimeValue.cjs.map
|