react-native-maps 1.23.6 → 1.23.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,6 +12,7 @@
12
12
  #import "AIRMapManager.h"
13
13
  #import "RNMapsMarkerView.h"
14
14
  #if __has_include(<ReactNativeMaps/generated/RNMapsAirModuleDelegate.h>)
15
+ #import <ReactNativeMaps/generated/RNMapsAirModuleDelegate.h>
15
16
  #import <ReactNativeMaps/generated/RNMapsSpecs.h>
16
17
  #import <ReactNativeMaps/generated/RNMapsHostVewDelegate.h>
17
18
  #import <ReactNativeMaps/generated/ComponentDescriptors.h>
@@ -19,6 +20,7 @@
19
20
  #import <ReactNativeMaps/generated/Props.h>
20
21
  #import <ReactNativeMaps/generated/RCTComponentViewHelpers.h>
21
22
  #else
23
+ #import "../generated/RNMapsAirModuleDelegate.h"
22
24
  #import "../generated/RNMapsSpecs/RNMapsSpecs.h"
23
25
  #import "../generated/RNMapsSpecs/ComponentDescriptors.h"
24
26
  #import "../generated/RNMapsSpecs/EventEmitters.h"
@@ -41,7 +43,7 @@ using namespace facebook::react;
41
43
 
42
44
 
43
45
  - (id<RNMapsAirModuleDelegate>) mapView {
44
- return nil;
46
+ return (id<RNMapsAirModuleDelegate>)_view;
45
47
  }
46
48
 
47
49
  - (void) prepareForRecycle
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "main": "src/index.ts",
6
6
  "author": "Leland Richardson <leland.m.richardson@gmail.com>",
7
7
  "homepage": "https://github.com/react-native-maps/react-native-maps#readme",
8
- "version": "1.23.6",
8
+ "version": "1.23.8",
9
9
  "license": "MIT",
10
10
  "scripts": {
11
11
  "lint": "eslint . --max-warnings 0",
@@ -1,5 +1,5 @@
1
1
  import {Animated} from 'react-native';
2
- import {Region} from './sharedTypes';
2
+ import type {Region} from './sharedTypes';
3
3
 
4
4
  const AnimatedWithChildren = Object.getPrototypeOf(Animated.ValueXY);
5
5
  if (__DEV__) {
package/src/Geojson.tsx CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import {
2
+ import type {
3
3
  Feature,
4
4
  FeatureCollection,
5
5
  Point,
@@ -10,12 +10,12 @@ import {
10
10
  Polygon,
11
11
  MultiPolygon,
12
12
  } from 'geojson';
13
- import Marker, {MapMarkerProps as MarkerProps} from './MapMarker';
14
- import {MapPolygonProps as PolygonProps} from './MapPolygon';
15
- import {MapPolylineProps as PolylineProps} from './MapPolyline';
13
+ import Marker, {type MapMarkerProps as MarkerProps} from './MapMarker';
14
+ import type {MapPolygonProps as PolygonProps} from './MapPolygon';
15
+ import type {MapPolylineProps as PolylineProps} from './MapPolyline';
16
16
  import Polyline from './MapPolyline';
17
17
  import MapPolygon from './MapPolygon';
18
- import {LatLng} from './sharedTypes';
18
+ import type {LatLng} from './sharedTypes';
19
19
 
20
20
  export type GeojsonProps = {
21
21
  /**
@@ -1,14 +1,14 @@
1
1
  import * as React from 'react';
2
- import {StyleSheet, ViewProps} from 'react-native';
2
+ import {StyleSheet, type ViewProps} from 'react-native';
3
3
  import decorateMapComponent, {
4
- MapManagerCommand,
5
- NativeComponent,
6
4
  ProviderContext,
7
5
  SUPPORTED,
8
- UIManagerCommand,
9
6
  USES_DEFAULT_IMPLEMENTATION,
7
+ type MapManagerCommand,
8
+ type NativeComponent,
9
+ type UIManagerCommand,
10
10
  } from './decorateMapComponent';
11
- import {CalloutPressEvent} from './sharedTypes';
11
+ import type {CalloutPressEvent} from './sharedTypes';
12
12
 
13
13
  export type MapCalloutProps = ViewProps & {
14
14
  /**
@@ -1,14 +1,18 @@
1
1
  import * as React from 'react';
2
- import {NativeSyntheticEvent, StyleSheet, ViewProps} from 'react-native';
2
+ import {
3
+ StyleSheet,
4
+ type NativeSyntheticEvent,
5
+ type ViewProps,
6
+ } from 'react-native';
3
7
  import decorateMapComponent, {
4
8
  SUPPORTED,
5
9
  NOT_SUPPORTED,
6
10
  ProviderContext,
7
- NativeComponent,
8
- MapManagerCommand,
9
- UIManagerCommand,
11
+ type NativeComponent,
12
+ type MapManagerCommand,
13
+ type UIManagerCommand,
10
14
  } from './decorateMapComponent';
11
- import {Frame, Point} from './sharedTypes';
15
+ import type {Frame, Point} from './sharedTypes';
12
16
 
13
17
  export type MapCalloutSubviewProps = ViewProps & {
14
18
  /**
package/src/MapCircle.tsx CHANGED
@@ -1,14 +1,14 @@
1
1
  import * as React from 'react';
2
- import {View, ViewProps} from 'react-native';
2
+ import {View, type ViewProps} from 'react-native';
3
3
  import decorateMapComponent, {
4
4
  USES_DEFAULT_IMPLEMENTATION,
5
5
  SUPPORTED,
6
6
  ProviderContext,
7
- NativeComponent,
8
- MapManagerCommand,
9
- UIManagerCommand,
7
+ type NativeComponent,
8
+ type MapManagerCommand,
9
+ type UIManagerCommand,
10
10
  } from './decorateMapComponent';
11
- import {LatLng, LineCapType, LineJoinType} from './sharedTypes';
11
+ import type {LatLng, LineCapType, LineJoinType} from './sharedTypes';
12
12
 
13
13
  export type MapCircleProps = ViewProps & {
14
14
  /**
@@ -1,15 +1,20 @@
1
1
  import * as React from 'react';
2
- import {processColor, ProcessedColorValue, View, ViewProps} from 'react-native';
2
+ import {
3
+ processColor,
4
+ View,
5
+ type ProcessedColorValue,
6
+ type ViewProps,
7
+ } from 'react-native';
3
8
  import decorateMapComponent, {
4
- MapManagerCommand,
5
- NativeComponent,
6
9
  ProviderContext,
7
10
  SUPPORTED,
8
- UIManagerCommand,
9
11
  USES_DEFAULT_IMPLEMENTATION,
12
+ type MapManagerCommand,
13
+ type NativeComponent,
14
+ type UIManagerCommand,
10
15
  } from './decorateMapComponent';
11
- import {LatLng} from './sharedTypes';
12
- import {Modify} from './sharedTypesInternal';
16
+ import type {LatLng} from './sharedTypes';
17
+ import type {Modify} from './sharedTypesInternal';
13
18
 
14
19
  export type MapHeatmapProps = ViewProps & {
15
20
  gradient?: {
@@ -1,13 +1,13 @@
1
1
  import * as React from 'react';
2
- import {ViewProps} from 'react-native';
2
+ import type {ViewProps} from 'react-native';
3
3
 
4
4
  import decorateMapComponent, {
5
5
  USES_DEFAULT_IMPLEMENTATION,
6
6
  SUPPORTED,
7
7
  ProviderContext,
8
- NativeComponent,
9
- MapManagerCommand,
10
- UIManagerCommand,
8
+ type NativeComponent,
9
+ type MapManagerCommand,
10
+ type UIManagerCommand,
11
11
  } from './decorateMapComponent';
12
12
 
13
13
  export type MapLocalTileProps = ViewProps & {
package/src/MapMarker.tsx CHANGED
@@ -2,29 +2,29 @@ import * as React from 'react';
2
2
  import {
3
3
  StyleSheet,
4
4
  Animated,
5
- ViewProps,
6
- ImageURISource,
7
- ImageRequireSource,
8
5
  Platform,
6
+ type ViewProps,
7
+ type ImageURISource,
8
+ type ImageRequireSource,
9
9
  } from 'react-native';
10
10
 
11
11
  import decorateMapComponent, {
12
- MapManagerCommand,
13
- NativeComponent,
14
12
  ProviderContext,
15
13
  SUPPORTED,
16
- UIManagerCommand,
17
14
  USES_DEFAULT_IMPLEMENTATION,
15
+ type MapManagerCommand,
16
+ type NativeComponent,
17
+ type UIManagerCommand,
18
18
  } from './decorateMapComponent';
19
19
  import {
20
20
  Commands,
21
- MapMarkerNativeComponentType,
21
+ type MapMarkerNativeComponentType,
22
22
  } from './MapMarkerNativeComponent';
23
23
 
24
24
  import {Commands as FabricCommands} from './specs/NativeComponentMarker';
25
25
  import type {AppleMarkerPriority} from './specs/NativeComponentMarker';
26
26
 
27
- import {
27
+ import type {
28
28
  CalloutPressEvent,
29
29
  LatLng,
30
30
  MarkerDeselectEvent,
@@ -34,7 +34,7 @@ import {
34
34
  MarkerSelectEvent,
35
35
  Point,
36
36
  } from './sharedTypes';
37
- import {Modify} from './sharedTypesInternal';
37
+ import type {Modify} from './sharedTypesInternal';
38
38
 
39
39
  import {PROVIDER_GOOGLE} from './ProviderConstants';
40
40
  import {fixImageProp} from './fixImageProp';
@@ -1,7 +1,7 @@
1
1
  import type {HostComponent} from 'react-native';
2
2
  import codegenNativeCommands from 'react-native/Libraries/Utilities/codegenNativeCommands';
3
- import {NativeProps} from './MapMarker';
4
- import {LatLng} from './sharedTypes';
3
+ import type {NativeProps} from './MapMarker';
4
+ import type {LatLng} from './sharedTypes';
5
5
 
6
6
  export type MapMarkerNativeComponentType = HostComponent<NativeProps>;
7
7
 
@@ -2,23 +2,23 @@ import * as React from 'react';
2
2
  import {
3
3
  StyleSheet,
4
4
  Animated,
5
- ViewProps,
6
- ImageURISource,
7
- ImageRequireSource,
8
- NativeSyntheticEvent,
9
5
  Platform,
6
+ type ViewProps,
7
+ type ImageURISource,
8
+ type ImageRequireSource,
9
+ type NativeSyntheticEvent,
10
10
  } from 'react-native';
11
11
 
12
12
  import decorateMapComponent, {
13
- MapManagerCommand,
14
- NativeComponent,
15
13
  ProviderContext,
16
14
  SUPPORTED,
17
- UIManagerCommand,
18
15
  USES_DEFAULT_IMPLEMENTATION,
16
+ type MapManagerCommand,
17
+ type NativeComponent,
18
+ type UIManagerCommand,
19
19
  } from './decorateMapComponent';
20
- import {LatLng, Point} from './sharedTypes';
21
- import {Modify} from './sharedTypesInternal';
20
+ import type {LatLng, Point} from './sharedTypes';
21
+ import type {Modify} from './sharedTypesInternal';
22
22
  import {fixImageProp} from './fixImageProp';
23
23
 
24
24
  export type MapOverlayProps = ViewProps & {
@@ -1,15 +1,15 @@
1
1
  import * as React from 'react';
2
- import {View, ViewProps} from 'react-native';
2
+ import {View, type ViewProps} from 'react-native';
3
3
  import decorateMapComponent, {
4
4
  USES_DEFAULT_IMPLEMENTATION,
5
5
  SUPPORTED,
6
6
  ProviderContext,
7
- NativeComponent,
8
- MapManagerCommand,
9
- UIManagerCommand,
7
+ type NativeComponent,
8
+ type MapManagerCommand,
9
+ type UIManagerCommand,
10
10
  } from './decorateMapComponent';
11
- import {PolygonPressEvent} from './MapPolygon.types';
12
- import {LatLng, LineCapType, LineJoinType} from './sharedTypes';
11
+ import type {PolygonPressEvent} from './MapPolygon.types';
12
+ import type {LatLng, LineCapType, LineJoinType} from './sharedTypes';
13
13
 
14
14
  export type MapPolygonProps = ViewProps & {
15
15
  /**
@@ -1,5 +1,5 @@
1
- import {NativeSyntheticEvent} from 'react-native';
2
- import {LatLng, Point} from './sharedTypes';
1
+ import type {NativeSyntheticEvent} from 'react-native';
2
+ import type {LatLng, Point} from './sharedTypes';
3
3
 
4
4
  // All types in this file are directly exported with the package for external
5
5
  // use.
@@ -1,14 +1,14 @@
1
1
  import * as React from 'react';
2
- import {NativeSyntheticEvent, View, ViewProps} from 'react-native';
2
+ import {View, type NativeSyntheticEvent, type ViewProps} from 'react-native';
3
3
  import decorateMapComponent, {
4
4
  USES_DEFAULT_IMPLEMENTATION,
5
5
  SUPPORTED,
6
6
  ProviderContext,
7
- NativeComponent,
8
- MapManagerCommand,
9
- UIManagerCommand,
7
+ type NativeComponent,
8
+ type MapManagerCommand,
9
+ type UIManagerCommand,
10
10
  } from './decorateMapComponent';
11
- import {LatLng, LineCapType, LineJoinType, Point} from './sharedTypes';
11
+ import type {LatLng, LineCapType, LineJoinType, Point} from './sharedTypes';
12
12
 
13
13
  export type MapPolylineProps = ViewProps & {
14
14
  /**
@@ -4,11 +4,11 @@ import decorateMapComponent, {
4
4
  USES_DEFAULT_IMPLEMENTATION,
5
5
  SUPPORTED,
6
6
  ProviderContext,
7
- NativeComponent,
8
- MapManagerCommand,
9
- UIManagerCommand,
7
+ type NativeComponent,
8
+ type MapManagerCommand,
9
+ type UIManagerCommand,
10
10
  } from './decorateMapComponent';
11
- import {ViewProps} from 'react-native';
11
+ import type {ViewProps} from 'react-native';
12
12
 
13
13
  export type MapUrlTileProps = ViewProps & {
14
14
  /**
package/src/MapView.tsx CHANGED
@@ -3,18 +3,18 @@ import {
3
3
  Animated as RNAnimated,
4
4
  Animated,
5
5
  findNodeHandle,
6
- HostComponent,
7
- NativeSyntheticEvent,
8
6
  Platform,
9
7
  requireNativeComponent,
10
- ViewProps,
8
+ type HostComponent,
9
+ type NativeSyntheticEvent,
10
+ type ViewProps,
11
11
  } from 'react-native';
12
12
  import {
13
13
  createNotSupportedComponent,
14
- NativeComponent,
15
14
  ProviderContext,
15
+ type NativeComponent,
16
16
  } from './decorateMapComponent';
17
- import {
17
+ import type {
18
18
  CalloutPressEvent,
19
19
  ClickEvent,
20
20
  Frame,
@@ -28,7 +28,7 @@ import {
28
28
  Provider,
29
29
  Region,
30
30
  } from './sharedTypes';
31
- import {
31
+ import type {
32
32
  ActiveIndoorLevel,
33
33
  Address,
34
34
  BoundingBox,
@@ -50,17 +50,20 @@ import {
50
50
  SnapshotOptions,
51
51
  UserLocationChangeEvent,
52
52
  } from './MapView.types';
53
- import {Modify} from './sharedTypesInternal';
54
- import {Commands, MapViewNativeComponentType} from './MapViewNativeComponent';
53
+ import type {Modify} from './sharedTypesInternal';
54
+ import {
55
+ Commands,
56
+ type MapViewNativeComponentType,
57
+ } from './MapViewNativeComponent';
55
58
 
56
59
  import FabricMapView, {
57
60
  Commands as FabricCommands,
58
- MapFabricNativeProps,
61
+ type MapFabricNativeProps,
59
62
  } from './specs/NativeComponentMapView';
60
63
  import GoogleMapView, {
61
64
  Commands as GoogleCommands,
62
65
  } from './specs/NativeComponentGoogleMapView';
63
- import createFabricMap, {FabricMapHandle} from './createFabricMap';
66
+ import createFabricMap, {type FabricMapHandle} from './createFabricMap';
64
67
 
65
68
  const FabricMap = createFabricMap(FabricMapView, FabricCommands);
66
69
  var FabricGoogleMap: any = null;
@@ -1,5 +1,5 @@
1
- import {ClickEvent, LatLng, Point, Region} from './sharedTypes';
2
- import {NativeSyntheticEvent} from 'react-native';
1
+ import type {ClickEvent, LatLng, Point, Region} from './sharedTypes';
2
+ import type {NativeSyntheticEvent} from 'react-native';
3
3
 
4
4
  // All types in this file are directly exported with the package for external
5
5
  // use.
@@ -1,8 +1,8 @@
1
1
  import type {HostComponent} from 'react-native';
2
2
  import codegenNativeCommands from 'react-native/Libraries/Utilities/codegenNativeCommands';
3
- import {NativeProps} from './MapView';
4
- import {Camera, EdgePadding} from './MapView.types';
5
- import {LatLng, Region} from './sharedTypes';
3
+ import type {NativeProps} from './MapView';
4
+ import type {Camera, EdgePadding} from './MapView.types';
5
+ import type {LatLng, Region} from './sharedTypes';
6
6
 
7
7
  export type MapViewNativeComponentType = HostComponent<NativeProps>;
8
8
 
@@ -1,13 +1,13 @@
1
1
  import * as React from 'react';
2
- import {ViewProps} from 'react-native';
2
+ import type {ViewProps} from 'react-native';
3
3
 
4
4
  import decorateMapComponent, {
5
5
  USES_DEFAULT_IMPLEMENTATION,
6
6
  SUPPORTED,
7
7
  ProviderContext,
8
- NativeComponent,
9
- MapManagerCommand,
10
- UIManagerCommand,
8
+ type NativeComponent,
9
+ type MapManagerCommand,
10
+ type UIManagerCommand,
11
11
  } from './decorateMapComponent';
12
12
 
13
13
  export type MapWMSTileProps = ViewProps & {
@@ -7,8 +7,10 @@ import type {
7
7
  EdgePadding,
8
8
  SnapshotOptions,
9
9
  } from './MapView.types';
10
- import NativeAirMapsModule, {MapBoundaries} from './specs/NativeAirMapsModule';
11
- import {MapFabricNativeProps} from './specs/NativeComponentMapView';
10
+ import NativeAirMapsModule, {
11
+ type MapBoundaries,
12
+ } from './specs/NativeAirMapsModule';
13
+ import type {MapFabricNativeProps} from './specs/NativeComponentMapView';
12
14
 
13
15
  export type FabricMapViewProps = MapFabricNativeProps;
14
16
 
@@ -4,10 +4,10 @@ import {
4
4
  NativeModules,
5
5
  Platform,
6
6
  UIManager,
7
- HostComponent,
7
+ type HostComponent,
8
8
  } from 'react-native';
9
9
  import {PROVIDER_DEFAULT, PROVIDER_GOOGLE} from './ProviderConstants';
10
- import {Provider} from './sharedTypes';
10
+ import type {Provider} from './sharedTypes';
11
11
  import {MapCallout} from './MapCallout';
12
12
  import {MapOverlay} from './MapOverlay';
13
13
  import {MapCalloutSubview} from './MapCalloutSubview';
@@ -1,4 +1,4 @@
1
- import {Image, ImageSourcePropType} from 'react-native';
1
+ import {Image, type ImageSourcePropType} from 'react-native';
2
2
 
3
3
  export function fixImageProp(
4
4
  image: ImageSourcePropType,
package/src/index.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import MapView, {
2
2
  AnimatedMapView as Animated,
3
3
  MAP_TYPES,
4
- MapViewProps,
4
+ type MapViewProps,
5
5
  } from './MapView';
6
6
 
7
7
  import Marker from './MapMarker';
@@ -1,4 +1,4 @@
1
- import {NativeSyntheticEvent} from 'react-native';
1
+ import type {NativeSyntheticEvent} from 'react-native';
2
2
 
3
3
  export type Provider = 'google' | undefined;
4
4
 
@@ -2,7 +2,7 @@ import type {TurboModule} from 'react-native';
2
2
  import {TurboModuleRegistry} from 'react-native';
3
3
  import type {Double} from 'react-native/Libraries/Types/CodegenTypes';
4
4
  import type {Camera} from './NativeComponentMapView';
5
- import {Address} from '../MapView.types';
5
+ import type {Address} from '../MapView.types';
6
6
 
7
7
  type LatLng = {
8
8
  latitude: Double;
@@ -1,7 +1,7 @@
1
1
  import type {HostComponent, ViewProps} from 'react-native';
2
2
 
3
3
  import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
4
- import {
4
+ import type {
5
5
  Double,
6
6
  BubblingEventHandler,
7
7
  } from 'react-native/Libraries/Types/CodegenTypes';
@@ -1,7 +1,7 @@
1
1
  import type {HostComponent, ViewProps, ColorValue} from 'react-native';
2
2
 
3
3
  import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
4
- import {
4
+ import type {
5
5
  Double,
6
6
  Float,
7
7
  BubblingEventHandler,
@@ -2,7 +2,7 @@ import type {HostComponent, ViewProps, ColorValue} from 'react-native';
2
2
 
3
3
  import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
4
4
  import codegenNativeCommands from 'react-native/Libraries/Utilities/codegenNativeCommands';
5
- import {
5
+ import type {
6
6
  Double,
7
7
  Int32,
8
8
  WithDefault,
@@ -1,7 +1,7 @@
1
1
  import type {HostComponent, ViewProps, ColorValue} from 'react-native';
2
2
 
3
3
  import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
4
- import {
4
+ import type {
5
5
  Double,
6
6
  BubblingEventHandler,
7
7
  } from 'react-native/Libraries/Types/CodegenTypes';
@@ -2,7 +2,7 @@ import type {HostComponent, ViewProps, ColorValue} from 'react-native';
2
2
 
3
3
  import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
4
4
  import codegenNativeCommands from 'react-native/Libraries/Utilities/codegenNativeCommands';
5
- import {
5
+ import type {
6
6
  Double,
7
7
  Int32,
8
8
  WithDefault,
@@ -1,4 +1,4 @@
1
- import {HostComponent} from 'react-native';
1
+ import type {HostComponent} from 'react-native';
2
2
  import type {
3
3
  ViewProps,
4
4
  ColorValue,
@@ -7,7 +7,7 @@ import type {
7
7
 
8
8
  import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
9
9
  import codegenNativeCommands from 'react-native/Libraries/Utilities/codegenNativeCommands';
10
- import {
10
+ import type {
11
11
  Int32,
12
12
  Double,
13
13
  BubblingEventHandler,
@@ -1,5 +1,5 @@
1
1
  import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
2
- import {
2
+ import type {
3
3
  Double,
4
4
  Float,
5
5
  BubblingEventHandler,
@@ -1,7 +1,7 @@
1
1
  import type {HostComponent, ViewProps, ColorValue} from 'react-native';
2
2
 
3
3
  import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
4
- import {
4
+ import type {
5
5
  Double,
6
6
  Float,
7
7
  BubblingEventHandler,
@@ -1,7 +1,10 @@
1
1
  import type {HostComponent, ViewProps} from 'react-native';
2
2
 
3
3
  import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
4
- import {Int32, WithDefault} from 'react-native/Libraries/Types/CodegenTypes';
4
+ import type {
5
+ Int32,
6
+ WithDefault,
7
+ } from 'react-native/Libraries/Types/CodegenTypes';
5
8
 
6
9
  export interface UrlTileFabricNativeProps extends ViewProps {
7
10
  /**
@@ -1,7 +1,10 @@
1
1
  import type {HostComponent, ViewProps} from 'react-native';
2
2
 
3
3
  import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
4
- import {Int32, WithDefault} from 'react-native/Libraries/Types/CodegenTypes';
4
+ import type {
5
+ Int32,
6
+ WithDefault,
7
+ } from 'react-native/Libraries/Types/CodegenTypes';
5
8
 
6
9
  export interface WMSTileFabricNativeProps extends ViewProps {
7
10
  /**