-
Notifications
You must be signed in to change notification settings - Fork 201
Expand file tree
/
Copy pathrc-time-picker.d.ts
More file actions
43 lines (42 loc) · 1.1 KB
/
rc-time-picker.d.ts
File metadata and controls
43 lines (42 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
declare module 'rc-time-picker' {
import { Moment } from 'moment';
import * as React from 'react';
interface ITimePickerProps {
prefixCls?: string;
clearText?: string;
disabled?: boolean;
allowEmpty?: boolean;
open?: boolean;
defaultValue?: moment;
defaultOpenValue?: moment;
value?: moment;
placeholder?: string;
className?: string;
id?: string;
popupClassName?: string;
showHour?: boolean;
showMinute?: boolean;
showSecond?: boolean;
format?: string;
disabledHours?: function;
disabledMinutes?: function;
disabledSeconds?: function;
use12Hours?: boolean;
hideDisabledOptions?: boolean;
onChange?: function;
addon?: function;
placement?: string;
transitionName?: string;
name?: string;
onOpen?: function;
onClose?: function;
hourStep?: number;
minuteStep?: number;
secondStep?: number;
focusOnOpen?: boolean;
inputReadOnly?: noolean;
inputIcon?: React.ReactNode;
clearIcon?: React.ReactNode;
}
export default class TimePicker extends React.Component<TimePickerProps> {}
}