Skip to content

Instantly share code, notes, and snippets.

View belal-mazlom's full-sized avatar
😎
Having fun with ReactJS and React native apps

Belal Al Mazlom belal-mazlom

😎
Having fun with ReactJS and React native apps
View GitHub Profile
@belal-mazlom
belal-mazlom / gist:6cc880f63376e700c8d3f59069a052b6
Last active July 18, 2017 21:00
React native Maps install and activte Google map on iOS
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
@belal-mazlom
belal-mazlom / containsLocation.js
Created March 22, 2017 16:39
Determine if a location is within defined geographical boundaries
/*
=============================================
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
=============================================
*/
@belal-mazlom
belal-mazlom / InfiniteScrollListWithCustomScrollbar.tsx
Last active July 2, 2020 22:08
Activate "react-scrollbars-custom" with "react-window-infinite-loader" and also "react-window-infinite-loader"
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);