This file contains hidden or 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,{ useRef, useState,useEffect } from 'react'; | |
| import { Grid, Button, Typography,Paper } from '@material-ui/core'; | |
| import {useStyles} from '../../styles/popupstyle'; | |
| import { v4 as uuid } from 'uuid'; | |
| import Popper from '@material-ui/core/Popper'; | |
| import Autocomplete from '@material-ui/lab/Autocomplete'; | |
| import DoneIcon from '@material-ui/icons/Done'; | |
| import InputBase from '@material-ui/core/InputBase'; | |
| import {capitalCase} from "change-case"; |
This file contains hidden or 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
| // Paul Irish animation loop polyfill | |
| // https://gist.github.com/paulirish/1579671 | |
| (function() { | |
| var lastTime = 0; | |
| var vendors = ['ms', 'moz', 'webkit', 'o']; | |
| for(var x = 0; x < vendors.length && !window.requestAnimationFrame; ++x) { | |
| window.requestAnimationFrame = window[vendors[x]+'RequestAnimationFrame']; | |
| window.cancelAnimationFrame = window[vendors[x]+'CancelAnimationFrame'] | |
| || window[vendors[x]+'CancelRequestAnimationFrame']; |