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
// function from | |
// https://evilmartians.com/chronicles/scroll-to-the-future-modern-javascript-css-scrolling-implementations | |
function getScrollBarWidth() { | |
const outer = document.createElement('div'); | |
const inner = document.createElement('div'); | |
outer.style.overflow = 'scroll'; | |
outer.appendChild(inner); | |
document.body.appendChild(outer); |
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
console.log('justATest js was import'); |
This file has been truncated, but you can view the full file.
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
<?xml version="1.0" encoding="utf-8" ?> | |
<kml xmlns="http://www.opengis.net/kml/2.2"> | |
<Document id="root_doc"> | |
<Schema name="gadm36_VNM_3" id="gadm36_VNM_3"> | |
<SimpleField name="NAME_0" type="string"></SimpleField> | |
<SimpleField name="NAME_1" type="string"></SimpleField> | |
<SimpleField name="NAME_2" type="string"></SimpleField> | |
<SimpleField name="NAME_3" type="string"></SimpleField> | |
</Schema> | |
<Folder><name>gadm36_VNM_3</name> |
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, { RefObject } from 'react'; | |
import { Link as RouterLink, LinkProps as RouterLinkProps } from 'react-router-dom'; | |
import Link from '@material-ui/core/Link'; | |
import { LinkProps } from '@material-ui/core'; | |
type refType = ((instance: HTMLAnchorElement | null) => void) | RefObject<HTMLAnchorElement> | null | undefined; | |
type CustomLinkProps = RouterLinkProps & LinkProps; | |
const LinkBehavior = React.forwardRef((props: CustomLinkProps, ref: refType) => { |