rjsf-antd
Version:
Ant Design theme, fields and widgets for react-jsonschema-form
12 lines • 784 B
JavaScript
import { __assign } from "tslib";
import React from 'react';
import { DatePicker } from 'antd';
var RangePicker = DatePicker.RangePicker;
var RangePickerWidget = function (_a) {
var id = _a.id, required = _a.required, readonly = _a.readonly, disabled = _a.disabled, value = _a.value, onChange = _a.onChange, onBlur = _a.onBlur, onFocus = _a.onFocus, autofocus = _a.autofocus, options = _a.options, schema = _a.schema;
var _onChange = function (dates, dateStrings) { };
var showTime = options.showTime, format = options.format;
return (React.createElement(RangePicker, __assign({}, options, { autoFocus: autofocus, disabled: disabled || readonly, value: value, onChange: _onChange })));
};
export default RangePickerWidget;
//# sourceMappingURL=RangePickerWidget.js.map