UNPKG

@yandex/ymaps3-types

Version:

Types for ymaps3 maps library

12 lines (11 loc) 708 B
import type TReact from 'react'; import type { CustomReactify, OverrideProps, Prettify } from '../../../reactify/reactify'; 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 & TReact.RefAttributes<YMapRulerCommon>>>; export declare const YMapRulerReactifyOverride: CustomReactify<YMapRulerI, YMapRulerR>; export {};