@pluralsight/react-utils
Advanced tools
Comparing version 0.0.0-experimental-a14740-20220729 to 0.0.0-experimental-aff363-20220824
import type { RefObject } from 'react'; | ||
export declare function useFocusTrap(triggerRef: RefObject<HTMLButtonElement>): { | ||
ref: RefObject<HTMLElement>; | ||
initFocusTrap: () => void; | ||
setupFocusTrap: () => void; | ||
onKeydown: (event: any) => void; | ||
}; |
@@ -53,3 +53,3 @@ "use strict"; | ||
ref: modalRef, | ||
initFocusTrap: handleInitFocusTrap, | ||
setupFocusTrap: handleInitFocusTrap, | ||
onKeydown: handleFocus, | ||
@@ -56,0 +56,0 @@ }; |
{ | ||
"name": "@pluralsight/react-utils", | ||
"version": "0.0.0-experimental-a14740-20220729", | ||
"version": "0.0.0-experimental-aff363-20220824", | ||
"description": "A set of React custom hooks for Pluralsight.", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
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
6649