@yandex/ymaps3-types
Advanced tools
Comparing version 0.0.15085412 to 0.0.15090529
export { YMapRuler, YMapRulerProps, RenderPointArgs } from "./YMapRuler"; | ||
export { RulerGeometry, RulerType, RulerPointState, RulerCommonState, Measurements } from "./YMapRulerCommon"; | ||
export { YMapRulerReactifiedProps } from "./react/YMapRuler"; |
import type TReact from "react"; | ||
import type { YMapEntity } from "../../../imperative"; | ||
import type { CustomReactify, OverrideProps, Prettify } from "../../../reactify/reactify"; | ||
import { RenderPointCommonArgs, YMapRulerCommonProps, YMapRulerCommon as YMapRulerI } from "../YMapRulerCommon"; | ||
type YMapRulerReactifiedProps = Prettify<OverrideProps<YMapRulerCommonProps, { | ||
import type { YMapRuler as YMapRulerI } from "../YMapRuler"; | ||
import { RenderPointCommonArgs, YMapRulerCommon, YMapRulerCommonProps } from "../YMapRulerCommon"; | ||
export type YMapRulerReactifiedProps = Prettify<OverrideProps<YMapRulerCommonProps, { | ||
point: (params: RenderPointCommonArgs) => TReact.ReactElement; | ||
previewPoint: TReact.ReactElement; | ||
}>>; | ||
type YMapRulerR = TReact.ForwardRefExoticComponent<Prettify<YMapRulerReactifiedProps & React.RefAttributes<YMapEntity<YMapRulerReactifiedProps>>>>; | ||
type YMapRulerR = TReact.ForwardRefExoticComponent<Prettify<YMapRulerReactifiedProps & TReact.RefAttributes<YMapRulerCommon>>>; | ||
export declare const YMapRulerReactifyOverride: CustomReactify<YMapRulerI, YMapRulerR>; | ||
export {}; |
@@ -22,3 +22,3 @@ import { YMapComplexEntity, YMapEntity } from "../../imperative"; | ||
}>; | ||
static [overrideKeyReactify]: import("../../reactify/reactify").CustomReactify<YMapRulerCommon, import("react").ForwardRefExoticComponent<{ | ||
static [overrideKeyReactify]: import("../../reactify/reactify").CustomReactify<YMapRuler, import("react").ForwardRefExoticComponent<{ | ||
type: import("./YMapRulerCommon").RulerType; | ||
@@ -35,15 +35,3 @@ source?: string | undefined; | ||
previewPoint: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>; | ||
ref?: import("react").Ref<YMapEntity<{ | ||
type: import("./YMapRulerCommon").RulerType; | ||
source?: string | undefined; | ||
geometry: import("./YMapRulerCommon").RulerGeometry; | ||
zIndex?: number | undefined; | ||
onUpdate?: import("./YMapRulerCommon").UpdateCommonFn | undefined; | ||
points: import("../../common/types/lng-lat").LngLat[]; | ||
editable?: boolean | undefined; | ||
onUpdateStart?: import("./YMapRulerCommon").UpdateStartFn | undefined; | ||
onUpdateEnd?: import("./YMapRulerCommon").UpdateEndFn | undefined; | ||
point: (params: RenderPointCommonArgs) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>; | ||
previewPoint: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>; | ||
}, {}>> | undefined; | ||
ref?: import("react").Ref<YMapRulerCommon> | undefined; | ||
key?: import("react").Key | null | undefined; | ||
@@ -50,0 +38,0 @@ }>>; |
{ | ||
"name": "@yandex/ymaps3-types", | ||
"version": "0.0.15085412", | ||
"version": "0.0.15090529", | ||
"description": "Types for ymaps3 maps library", | ||
@@ -5,0 +5,0 @@ "main": "", |
185350
4769