UNPKG
scrollbun
Version:
latest (1.1.0)
1.1.0
1.0.2
1.0.1
1.0.0
React component for horizontal scrolling
github.com/olzh2102/x-scroll
olzh2102/x-scroll
scrollbun
/
out
/
index.d.ts
11 lines
(7 loc)
•
259 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
*
as
React
from
'react'
;
type
Props
= {
direction
?:
'horizontal'
|
'vertical'
scrollRate
?:
number
} &
Omit
<
React
.
HTMLProps
<
HTMLDivElement
>,
'onWheel'
>
declare
function
Scrollbun
(
props
:
Props
):
React
.
ReactElement
export
{
Scrollbun
as
default
};