-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate MapView to react function components (#408)
React function components * Migrated MapView and NativeBridge component to function components and hooks. Fixed MapView docs * Fixed MapView broken doc page caused by eslint * Removed unused hook call and update the dependency list of the nativeProps useMemo * Migrated react components to function components * Update CONTRIBUTING.md * update Camera.test * use jest.mock instead of prop for testing * update Callout test * migrate UserLocation to functional component * fix TS issue * migrate Annotation.tsx to functional component * convert ShapeSource to functional component * migrate PointAnnotation to functional component * remove AbstractSource and NativeBridgeComponent * Delete NativeBridgeComponent.tsx * small updates * Update MapView.tsx * rename Mapbox -> MapLibre * eslint updates * Update UserLocation.tsx * Update ShapeSource.tsx * fix eslint warnings and errors * changes from `yarn dlx @yarnpkg/sdks vscode` * fix camera test * fix autogenerated documentiation * linting * Update docs.json * Update MapView.md * expose MapViewRef interface * remove unneeded state in MapView * lint * update types in Camera#fitBounds --------- Co-authored-by: Marius Iorga <[email protected]>
- Loading branch information
1 parent
4490483
commit 8bebd49
Showing
54 changed files
with
3,085 additions
and
3,168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.