chore: add mobile app

This commit is contained in:
2026-02-07 22:33:02 +01:00
parent db34640acc
commit e89384ad4e
29327 changed files with 3886944 additions and 12 deletions
@@ -0,0 +1,34 @@
import * as React from 'react';
import { NativeSyntheticEvent, ViewProps } from 'react-native';
import { ProviderContext, NativeComponent, MapManagerCommand, UIManagerCommand } from './decorateMapComponent';
import { Frame, Point } from './sharedTypes';
export type MapCalloutSubviewProps = ViewProps & {
/**
* Callback that is called when the user presses on this subview inside callout
*
* @platform iOS: Supported
* @platform Android: Not supported
*/
onPress?: (event: CalloutSubviewPressEvent) => void;
};
type NativeProps = MapCalloutSubviewProps;
export declare class MapCalloutSubview extends React.Component<MapCalloutSubviewProps> {
context: React.ContextType<typeof ProviderContext>;
getNativeComponent: () => NativeComponent<NativeProps>;
getMapManagerCommand: (name: string) => MapManagerCommand;
getUIManagerCommand: (name: string) => UIManagerCommand;
render(): React.JSX.Element;
}
declare const _default: typeof MapCalloutSubview;
export default _default;
type CalloutSubviewPressEvent = NativeSyntheticEvent<{
/**
* Apple Maps: `callout-inside-press`
*
* Google Maps: `marker-inside-overlay-press`
*/
action: 'callout-inside-press' | 'marker-inside-overlay-press';
frame: Frame;
id: string;
point: Point;
}>;