React component which removes outlines on mouse interactions and restores them on keyboard navigation
Check out the basic demo
$ npm install --save react-outline-hider
or
$ yarn add react-outline-hider
Just import as a regular React component and use somewhere in your app, preferably near the top level
import React from 'react'
import { render } from 'react-dom'
import ReactOutlineHider from "react-outline-hider"
const App = () => (
<div>
<ReactOutlineHider />
</div>
)
render(<App />, document.getElementById('root'));
MIT © Keilin Olsen