'use client'; import type { ComponentProps } from 'react'; import type { GetValue, MouseHandlers } from '../types'; import createMapChildComponent from '../utils/createMapChildComponent'; export type MarkerProps = ComponentProps; /** @deprecated */ const Marker = createMapChildComponent< google.maps.Marker, { onAnimationChanged: [animation: GetValue]; onClickableChanged: [clickable: GetValue]; onCursorChanged: [cursor: GetValue]; onDraggableChanged: [draggable: GetValue]; onFlatChanged: []; onIconChanged: [icon: GetValue]; onPositionChanged: [position: GetValue]; onShapeChanged: [shape: GetValue]; onTitleChanged: [title: GetValue]; onVisibleChanged: [visible: GetValue]; onZIndexChanged: [zIndex: GetValue]; } & MouseHandlers, 'anchorPoint' | 'collisionBehavior' | 'crossOnDrag' | 'optimized' >( ['marker', 'Marker'], [ 'animation', 'cursor', 'draggable', 'icon', 'position', 'shape', 'title', 'visible', 'zIndex', ] ); export default Marker;