We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74137d8 commit 14591abCopy full SHA for 14591ab
src/PickerInput/Popup/PresetPanel.tsx
@@ -2,7 +2,7 @@ import * as React from 'react';
2
import type { ValueDate } from '../../interface';
3
import moment from 'moment';
4
5
-export interface PresetPanelProps<ValueType = any> {
+export interface PresetPanelProps<ValueType = any, DateType extends object = any> {
6
prefixCls: string;
7
presets: ValueDate<ValueType>[];
8
onClick: (value: ValueType) => void;
0 commit comments