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

mmr-gl-react

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mmr-gl-react

React components for MMR GL JS-compatible libraries

latest
npmnpm
Version
0.0.12
Version published
Maintainers
1
Created
Source

version downloads

mmr-gl-react

mmr-gl-react is a suite of React components designed to provide a React API for MMR GL JS-compatible libraries.

Installation

Using mmr-gl-react requires react >= 16.3.

npm install --save mmr-gl-react mmr-gl

Example

import * as React from 'react';
import Map from 'mmr-gl-react';

const ACCESS_TOKEN = ''

function App() {
  return <Map
    initialViewState={{
      longitude: -100,
      latitude: 40,
      zoom: 3.5
    }}
    style={{width: 600, height: 400}}
    mapStyle="vkmaps://api/styles/main_style.json"
    vkAccessToken={ACCESS_TOKEN}
  />
}

Keywords

mmr-gl

FAQs

Package last updated on 02 May 2024

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