@mantine/hooks
Advanced tools
Comparing version 7.4.0 to 7.4.1
@@ -21,8 +21,9 @@ interface ScrollIntoViewAnimation { | ||
} | ||
export declare function useScrollIntoView<Target extends HTMLElement, Parent extends HTMLElement | null = null>({ duration, axis, onScrollFinish, easing, offset, cancelable, isList, }?: ScrollIntoViewParams): { | ||
scrollableRef: import("react").RefObject<Parent>; | ||
targetRef: import("react").RefObject<Target>; | ||
scrollIntoView: ({ alignment }?: ScrollIntoViewAnimation) => void; | ||
interface ScrollIntoViewReturnType<Target extends HTMLElement, Parent extends HTMLElement | null = null> { | ||
scrollableRef: React.MutableRefObject<Parent>; | ||
targetRef: React.MutableRefObject<Target>; | ||
scrollIntoView: (params?: ScrollIntoViewAnimation) => void; | ||
cancel: () => void; | ||
}; | ||
} | ||
export declare function useScrollIntoView<Target extends HTMLElement, Parent extends HTMLElement | null = null>({ duration, axis, onScrollFinish, easing, offset, cancelable, isList, }?: ScrollIntoViewParams): ScrollIntoViewReturnType<Target, Parent>; | ||
export {}; |
{ | ||
"name": "@mantine/hooks", | ||
"version": "7.4.0", | ||
"version": "7.4.1", | ||
"description": "A collection of 50+ hooks for state and UI management", | ||
@@ -5,0 +5,0 @@ "homepage": "https://mantine.dev", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
881293
5092