Skip to content

fengelz/react-coord-compass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published