1.0.4 • Published 4 years ago

react-yandex-maps-constructor v1.0.4

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

react-yandex-maps-constructor

React component for Yandex Maps Constructor

NPM JavaScript Style Guide

Install

npm install --save react-yandex-maps-constructor

Usage

Copy full script code of your Yandex Map Constructor and paste it to script attribute.

import React, { Component } from 'react'

import YandexMapConstructor from 'react-yandex-maps-constructor'

class Example extends Component {
  render () {
    return (
      <YandexMapConstructor script='<script type="text/javascript" charset="utf-8" async src="https://api-maps.yandex.ru/services/constructor/1.0/js/?um=constructor%3A82bea7622863f2ed81e94d89127e73a7821886976f226e3e00b727819a2835ea&amp;width=500&amp;height=300&amp;lang=ru_RU&amp;scroll=true"></script>' />
    )
  }
}

License

MIT © spotykatch

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago