Fix TimePickerProps type

Close #8727
This commit is contained in:
Wei Zhu 2018-01-09 22:35:53 +08:00
parent 02386bbfff
commit 4cc29bc11c

View File

@ -22,7 +22,7 @@ export interface TimePickerProps {
className?: string;
size?: 'large' | 'default' | 'small';
value?: moment.Moment;
defaultValue?: moment.Moment;
defaultValue?: moment.Moment | moment.Moment[];
open?: boolean;
format?: string;
onChange?: (time: moment.Moment, timeString: string) => void;