Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

21 Commits

Repository files navigation

dether-react-map

dether-react-map is a React component allowing to easily locate shops and tellers from the dether protocol

NPMJavaScript Style Guide

Install

npm install --save dether-react-map

Usage

You must pass rpcURL as a props, it must be an infura URL like this: You can either choose kovan for testnet or mainnet.

importReact,{Component}from'react'importDetherReactMapfrom'dether-react-map'import'dether-react-map/dist/index.css'constrpcURL='https://kovan.infura.io/v3/xxxxxxxxxxxxxxxx'classExampleextendsComponent{render(){return<DetherReactMapwidth='100%'height='400px'rpcURL={rpcURL}/>}}

Example

You can find one example here

License

MIT © dethertech

About

Dether map React component

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages