UNPKG
@rc-component/picker
Version:
latest (1.3.0)
1.3.0
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.0
1.0.1
1.0.0
React date & time picker
react-component.github.io/picker
react-component/picker
@rc-component/picker
/
lib
/
PickerPanel
/
TimePanel
/
TimePanelBody
/
useScrollTo.d.ts
3 lines
(2 loc)
•
218 B
TypeScript
View Raw
1
2
3
import
*
as
React
from
'react'
;
export
default
function
useScrollTo
(
ulRef
:
React
.
RefObject
<
HTMLUListElement
>,
value
:
number
|
string
): [
syncScroll
:
VoidFunction
,
clearScroll
:
VoidFunction
,
isScrolling
:
() =>
boolean
];