0.0.4 • Published 6 years ago

react-outline-hider v0.0.4

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

react-outline-hider

Generated with nod NPM version Build Status Coverage Status

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