Skip to content

React component which removes outlines on mouse interactions and restores them on keyboard navigation

License

Notifications You must be signed in to change notification settings

pentaphobe/react-outline-hider

Repository files navigation

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

About

React component which removes outlines on mouse interactions and restores them on keyboard navigation

Resources

License

Stars

Watchers

Forks

Packages

No packages published