Project Init

This commit is contained in:
Muluhabt
2026-05-29 15:23:46 +03:00
commit 2fbc557aac
67387 changed files with 6063341 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
'use client';
import { jsx } from 'react/jsx-runtime';
import { UnstyledButton } from '@mantine/core';
import { TimeValue } from '../../TimeValue/TimeValue.mjs';
import { useTimePickerContext } from '../TimePicker.context.mjs';
function TimePresetControl({
value,
active,
onChange,
format,
amPmLabels,
withSeconds
}) {
const ctx = useTimePickerContext();
return /* @__PURE__ */ jsx(
UnstyledButton,
{
mod: { active },
onClick: () => onChange(value),
...ctx.getStyles("presetControl"),
children: /* @__PURE__ */ jsx(TimeValue, { withSeconds, value, format, amPmLabels })
}
);
}
TimePresetControl.displayName = "@mantine/dates/TimePresetControl";
export { TimePresetControl };
//# sourceMappingURL=TimePresetControl.mjs.map