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
import React, { useCallback, forwardRef } from 'react'; | |
import Scrollbar from 'react-scrollbars-custom'; | |
import InfiniteLoader from 'react-window-infinite-loader'; | |
import { FixedSizeList } from 'react-window'; | |
const CustomScrollbars = ({ onScroll, forwardedRef, style, children }) => { | |
const refSetter = useCallback((scrollbarsRef) => { | |
if (scrollbarsRef) { | |
forwardedRef(scrollbarsRef); |
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
/* | |
============================================= | |
Determine if a location is within defined geographical boundaries | |
Using this alogrthim | |
http://alienryderflex.com/polygon/ | |
And also this post | |
http://stackoverflow.com/a/3036426/292927 | |
============================================= | |
*/ |
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
I get a lot of issues when I tried to install react-native-map | |
So I liked to share my steps to install react native maps and activate Google map provider | |
Please check details in comment below |