1.0.11 • Published 2 years ago

react-compass-component v1.0.11

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

react-compass-component

npm version

A fully functional Compass component for React. Based on react-compass and refactored to support latest React features and created to be 'plug and play', no extra code needed.

Installation

The package can be installed via:

  • NPM: npm install react-compass-component --save
import React from "react";

import Compass from 'react-compass-component/src'

const App = () =>{
    return (
        <>
        <h1 className="">
            Compass
        </h1>
        <Compass />
        </>

    )
}

export default App

Configuration

The default Compass can be initialised by:

<Compass directionNames={['N', 'NE', 'E', 'SE', 'S', 'SW', 'W', 'NW']}>

Compatibility

Latest compatible versions:

  • React "^18.2.0"

Local Development

TODO

License

MIT © Cristian Moyano

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago