New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

dether-react-map

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dether-react-map

Dether map allowing users to locate shops

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

dether-react-map

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

NPM JavaScript 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.

import React, { Component } from 'react'

import DetherReactMapfrom 'dether-react-map'
import 'dether-react-map/dist/index.css'

const rpcURL='https://kovan.infura.io/v3/xxxxxxxxxxxxxxxx'

class Example extends Component {
  render() {
    return <DetherReactMap width='100%' height='400px' rpcURL={rpcURL} />
  }
}

Example

You can find one example here

License

MIT © dethertech

FAQs

Package last updated on 30 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts