import type { HostComponent, ViewProps } from 'react-native'; // @ts-ignore - CI environment type resolution issue for CodegenTypes import { Int32 } from 'react-native/Libraries/Types/CodegenTypes'; import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent'; import { Position } from '../types/Position'; import { UnsafeMixed } from './codegenUtils'; type Point = { x: Int32; y: Int32; }; export interface NativeProps extends ViewProps { coordinate?: UnsafeMixed; anchor: UnsafeMixed; allowOverlap: UnsafeMixed; allowOverlapWithPuck: UnsafeMixed; isSelected: UnsafeMixed; } // @ts-ignore-error - Codegen requires single cast but TypeScript prefers double cast export default codegenNativeComponent( 'RNMBXMarkerView', ) as HostComponent;