react-yandex-api-maps-script

1.2.1 • Public • Published

React-yandex-api-maps-script

yandex api maps script binding for React

Documentation

Installation

yarn add react-yandex-api-maps-script

Usage

import YandexApiMapsScript from 'react-yandex-api-maps-script'
 
const defaultSettings = {
  apikey: 'apikey',
  typeApi: 'free',
  lang: 'ru_RU',
  coordorder: 'latlong',
  load: 'package.full',
  mode: 'release',
  csp: false,
  ns: 'ymaps',
  onload: () => {},
  onerror: () => {},
}
 
<YandexApiMapsScript {...defaultSettings} />

Package Sidebar

Install

npm i react-yandex-api-maps-script

Weekly Downloads

3

Version

1.2.1

License

MIT

Unpacked Size

104 kB

Total Files

9

Last publish

Collaborators

  • dmitrbrvsk