import { __rest, __assign } from '../../node_modules/tslib/tslib.es6.js';
import React, { forwardRef } from 'react';
import { Input } from '@chakra-ui/react';

var DatePicker = forwardRef(function (_a, ref) {
    var min = _a.min, props = __rest(_a, ["min"]);
    return (React.createElement(Input, __assign({}, props, { type: "date", min: min ? min.toISOString().split('T')[0] : undefined, ref: ref })));
});
DatePicker.displayName = 'DatePicker';

export { DatePicker as default };
//# sourceMappingURL=index.js.map
