1.3.1 • Published 5 years ago
@21kb/react-element-focus-hook v1.3.1
@21kb/react-window-focus-hook
React hook to respond to focus events
Install
npm
npm install --save @21kb/react-window-focus-hook
Yarn
yarn add @21kb/react-window-focus-hook
Usage
import reactWindowFocusHook from '@21kb/react-window-focus-hook';