react-outline-hider

0.0.4 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i react-outline-hider

Weekly Downloads

8

Version

0.0.4

License

MIT

Unpacked Size

8 kB

Total Files

7

Last publish

Collaborators

  • pentaphobe