Skip to content

Commit

Permalink
Merge pull request #32186 from JKobrynski/migrateMapViewToTypeScript
Browse files Browse the repository at this point in the history
[TS Migration] migrate MapView component to TypeScript
  • Loading branch information
Hayata Suenaga authored Dec 11, 2023
2 parents cd9ab89 + 017ed27 commit 08dd877
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/components/MapView/index.js

This file was deleted.

10 changes: 10 additions & 0 deletions src/components/MapView/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import React from 'react';
import MapView from './MapView';
import {ComponentProps} from './types';

function MapViewComponent(props: ComponentProps) {
// eslint-disable-next-line react/jsx-props-no-spreading
return <MapView {...props} />;
}

export default MapViewComponent;

0 comments on commit 08dd877

Please sign in to comment.