UNPKG

@yandex/ymaps3-types

Version:

Types for ymaps3 maps library

15 lines (14 loc) 628 B
import type TReact from 'react'; import type { CustomReactify, Prettify } from '../reactify'; import type { YMap as YMapI, YMapProps as YMapPropsI } from "../../imperative/YMap/index"; declare global { namespace JSX { interface IntrinsicElements { ymaps3: TReact.DetailedHTMLProps<TReact.HTMLAttributes<HTMLElement>, HTMLElement>; } } } type YMapContainerProps = TReact.PropsWithChildren<YMapPropsI>; type YMapR = TReact.ForwardRefExoticComponent<Prettify<YMapContainerProps & TReact.RefAttributes<YMapI>>>; export declare const YMapReactifyOverride: CustomReactify<YMapI, YMapR>; export {};