diff --git a/src/components/UserLocation.tsx b/src/components/UserLocation.tsx index f2ec77d69..d45fb5778 100644 --- a/src/components/UserLocation.tsx +++ b/src/components/UserLocation.tsx @@ -7,7 +7,7 @@ import { CircleLayerStyle } from '../Mapbox'; import Annotation from './Annotation'; import CircleLayer from './CircleLayer'; import HeadingIndicator from './HeadingIndicator'; -import NativeUserLocation from './LocationPuck'; +import LocationPuck from './LocationPuck'; const mapboxBlue = 'rgba(51, 181, 229, 100)'; @@ -100,7 +100,7 @@ type Props = { onUpdate?: (location: Location) => void; /** - * @deprecated use NativeUserLocation component instead of UserLocationRenderMode.Native + * @deprecated use LocationPuck component instead of UserLocationRenderMode.Native * Which render mode to use. */ renderMode?: UserLocationRenderMode; @@ -258,7 +258,7 @@ class UserLocation extends React.Component { androidRenderMode, iosShowsUserHeadingIndicator: showsUserHeadingIndicator, }; - return ; + return ; } render() {