@daveyplate/use-window-focus-blur
v1.0.0
Published
Fixes the issue with blue outlines appearing when the window gets refocused in certain UI frameworks.
Downloads
4
Maintainers
Readme
use-window-focus-blur
Fixes the issue with blue outlines appearing when the window gets refocused in certain UI frameworks (NextUI).
Installation
npm install @daveyplate/use-window-focus-blur
Usage
import { useWindowFocusBlur } from '@daveyplate/use-window-focus-blur'
function App() {
useWindowFocusBlur()
return (
<div>
<h1>Hello, World!</h1>
</div>
)
}