import React from 'react'; import Button from '@material-ui/core/Button'; import Dialog from '@material-ui/core/Dialog'; import DialogActions from '@material-ui/core/DialogActions'; import DialogContent from '@material-ui/core/DialogContent'; import DialogContentText from '@material-ui/core/DialogContentText'; import DialogTitle from '@material-ui/core/DialogTitle'; import useMediaQuery from '@material-ui/core/useMediaQuery'; import { useTheme } from '@material-ui/core/styles'; export default function ResponsiveDialog() { const [open, setOpen] = React.useState(false); const theme = useTheme(); const fullScreen = useMediaQuery(theme.breakpoints.down('sm')); const handleClickOpen = () => { setOpen(true); }; const handleClose = () => { setOpen(false); }; return (
{"Use Google's location service?"} Let Google help apps determine location. This means sending anonymous location data to Google, even when no apps are running.
); }