react-yandex-maps-no-default-props
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

React Yandex Maps No Default Props

npm npm bundle size

Yandex Maps API bindings for React

Features

  • Supports TypeScript out of the box
  • Automatic yamps api and modules loading
  • Declarative rendering

Installation

npm:

npm install react-yandex-maps-no-default-props

yarn:

yarn add react-yandex-maps-no-default-props

Getting Started

Try running a simple example:

import React from 'react';
import { YMaps, Map, Placemark } from 'react-yandex-maps-no-default-props';

export default function App() {
  const defaultState = {
    center: [55.751574, 37.573856],
    zoom: 5,
  };

  return (
    <YMaps>
      <Map defaultState={defaultState}>
        <Placemark geometry={[55.684758, 37.738521]} />
      </Map>
    </YMaps>
  );
}

Documentation

The React Yandex Maps docs are located at website

Contribution

We appreciate your help!

To contribute, please read our contributing instructions.

License

MIT

Package Sidebar

Install

npm i react-yandex-maps-no-default-props

Weekly Downloads

15

Version

1.0.2

License

MIT

Unpacked Size

586 kB

Total Files

69

Last publish

Collaborators

  • poccob