package.dist.components.date-picker.date-picker-table-head.cjs Maven / Gradle / Ivy
'use client';
'use strict';
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const jsxRuntime = require('react/jsx-runtime');
const react$1 = require('@zag-js/react');
const react = require('react');
const factory = require('../factory.cjs');
const useDatePickerContext = require('./use-date-picker-context.cjs');
const useDatePickerTablePropsContext = require('./use-date-picker-table-props-context.cjs');
const DatePickerTableHead = react.forwardRef(
(props, ref) => {
const datePicker = useDatePickerContext.useDatePickerContext();
const tableProps = useDatePickerTablePropsContext.useDatePickerTablePropsContext();
const mergedProps = react$1.mergeProps(datePicker.getTableHeadProps(tableProps), props);
return /* @__PURE__ */ jsxRuntime.jsx(factory.ark.thead, { ...mergedProps, ref });
}
);
DatePickerTableHead.displayName = "DatePickerTableHead";
exports.DatePickerTableHead = DatePickerTableHead;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy