import { __assign } from "tslib";
import { jsx as _jsx } from "react/jsx-runtime";
import { CombinedDateRangePicker, } from '../../date-picker';
import { FormField } from '../Field';
import { dateRangeDefaultValueFactory } from '../shared';
export var FormCombinedDateRangePickerField = function (props) {
    var _a;
    return (_jsx(FormField, __assign({}, props, { defaultValue: (_a = props
            .defaultValue) !== null && _a !== void 0 ? _a : dateRangeDefaultValueFactory }, { children: function (childProps) { return (_jsx(CombinedDateRangePicker, __assign({}, props.props, childProps), void 0)); } }), void 0));
};
