mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-27 22:30:56 +00:00
17 lines
492 B
JavaScript
17 lines
492 B
JavaScript
'use client';
|
|
import { jsx, Fragment } from 'react/jsx-runtime';
|
|
import { getFormattedTime } from './get-formatted-time/get-formatted-time.mjs';
|
|
|
|
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";
|
|
|
|
export { TimeValue };
|
|
//# sourceMappingURL=TimeValue.mjs.map
|