Skip to content

Commit 8d5f6bd

Browse files
committed
refactor: rename createScrollingComponent to withScrolling
1 parent 633a0e1 commit 8d5f6bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export function useDndScrolling(componentRef, passedOptions) {
8383
}, [componentRef.current, dragDropManager, passedOptions]);
8484
}
8585

86-
export default function createScrollingComponent(WrappedComponent) {
86+
export default function withScrolling(WrappedComponent) {
8787
function ScrollingComponent({
8888
strengthMultiplier,
8989
verticalStrength,

0 commit comments

Comments
 (0)