New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@pluralsight/react-utils

Package Overview
Dependencies
Maintainers
1
Versions
1213
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pluralsight/react-utils - npm Package Compare versions

Comparing version

to
0.0.0-experimental-08b639-20220812

2

build/hooks/useFocusTrap.d.ts
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-alpha-fd9e2c",
"version": "0.0.0-experimental-08b639-20220812",
"description": "A set of React custom hooks for Pluralsight.",

@@ -5,0 +5,0 @@ "main": "build/index.js",