Skip to content

Commit 14591ab

Browse files
committed
fix: presets和maxDate的对比
1 parent 74137d8 commit 14591ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PickerInput/Popup/PresetPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import * as React from 'react';
22
import type { ValueDate } from '../../interface';
33
import moment from 'moment';
44

5-
export interface PresetPanelProps<ValueType = any> {
5+
export interface PresetPanelProps<ValueType = any, DateType extends object = any> {
66
prefixCls: string;
77
presets: ValueDate<ValueType>[];
88
onClick: (value: ValueType) => void;

0 commit comments

Comments
 (0)