Browse Source

Fix TimePickerProps type

Close #8727
pull/8904/head
Wei Zhu 7 years ago
parent
commit
4cc29bc11c
  1. 2
      components/time-picker/index.tsx

2
components/time-picker/index.tsx

@ -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;

Loading…
Cancel
Save