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