react-coord-compass
v1.0.1
Published
A react component that will point to 2 coordinates in your browser, should you ever need it.
Downloads
4
Readme
React Coord Compas
Introduction
A react component that will point to 2 coordinates in your browser, should you ever need it. Example usage: https://github.com/fengelz/follow-the-mouse
Code Samples
import Compass from 'react-coord-compass';
<Compass coords={[0,0]}>
//image, html, svg or whatever you want to follow you
<div>
<span>
<span />
</span>
</div>
</Compass>
Installation
yarn add or npm install 'react-coord-compass'