react-outline-hider
v0.0.4
Published
React component which removes outlines on mouse interactions and restores them on keyboard navigation
Downloads
4
Readme
react-outline-hider
React component which removes outlines on mouse interactions and restores them on keyboard navigation
Check out the basic demo
Install
$ npm install --save react-outline-hider
or
$ yarn add react-outline-hider
Usage
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'));
API
Table of Contents
License
MIT © Keilin Olsen