-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.d.ts
52 lines (52 loc) · 1.3 KB
/
index.d.ts
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
44
45
46
47
48
49
50
51
52
declare module 'time-picker-io' {
import React from 'react'
import { DateTime } from 'luxon'
const TimePicker: React.ComponentClass<Partial<TimePickerProps>>
export default TimePicker
export interface TimePickerProps {
prefixCls: string | 'rc-time-picker'
clearText: string
value: DateTime
defaultOpenValue: DateTime
inputReadOnly: boolean
disabled: boolean
allowEmpty: boolean
defaultValue: DateTime
open: boolean
defaultOpen: boolean
align: unknown
placement: string
transitionName: string
getPopupContainer: unknown
placeholder: string
format: string
showHour: boolean
showMinute: boolean
showSecond: boolean
style: unknown
className: string
popupClassName: string
disabledHours: boolean
disabledMinutes: boolean
disabledSeconds: boolean
hideDisabledOptions: boolean
onChange: (value: DateTime) => null
onOpen: () => null
onClose: () => null
onFocus: () => null
onBlur: () => null
addon: () => null
name: string
autoComplete: string
use12Hours: boolean
hourStep: number
minuteStep: number
secondStep: number
focusOnOpen: boolean
onKeyDown: () => unknown
autoFocus: boolean
id: string
inputIcon?: React.ReactNode
clearIcon?: React.ReactNode
}
}