react-ymaps3
Advanced tools
Comparing version 0.0.17 to 0.0.18
{ | ||
"name": "react-ymaps3", | ||
"version": "0.0.17", | ||
"version": "0.0.18", | ||
"description": "React Yandex Maps API 3 wrapper", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/sbcrmweb/react-ymaps3", |
import * as YMaps from '@yandex/ymaps3-types'; | ||
import * as Controls from '@yandex/ymaps3-types/packages/controls'; | ||
import * as Markers from '@yandex/ymaps3-types/packages/markers'; | ||
import { YMap as ReactYMap } from '@yandex/ymaps3-types/react'; | ||
import utils from './utils'; | ||
@@ -19,7 +22,11 @@ | ||
// export const YMap = utils.createElement< | ||
// YMaps.YMap, | ||
// YMaps.YMapProps | ||
// >('YMap');s | ||
export const YMap = utils.createElement< | ||
YMaps.YMap, | ||
React.ComponentProps<typeof ReactYMap> | ||
>('YMap'); | ||
export type YMapProps = React.ComponentProps< | ||
typeof ReactYMap | ||
>; | ||
export const YMapMarker = utils.createElement< | ||
@@ -26,0 +33,0 @@ YMaps.YMapMarker, |
@@ -6,5 +6,4 @@ export * from './components/YMapsProvider'; | ||
export * from './exports'; | ||
export * from './components/exports'; | ||
export type YMaps = | ||
typeof import('@yandex/ymaps3-types/index'); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
68265
636