import React, { useEffect } from 'react'; import clsx from 'clsx'; import Drawer from '@material-ui/core/Drawer'; import AppBar from '@material-ui/core/AppBar'; import Toolbar from '@material-ui/core/Toolbar'; import List from '@material-ui/core/List'; import IconButton from '@material-ui/core/IconButton'; import ListItem from '@material-ui/core/ListItem'; import ListItemIcon from '@material-ui/core/ListItemIcon'; import { ListItemTextStyled, useStyles } from './style'; import { AccountCircle, AddCircleTwoTone, BlurCircular, CloudUploadTwoTone, DeleteOutlineTwoTone, Help, LabelTwoTone, PublicTwoTone, ShareTwoTone, StarRateTwoTone, Translate, TranslateTwoTone } from '@material-ui/icons'; import InboxTwoToneIcon from '@material-ui/icons/InboxTwoTone'; import { Button, ListItemSecondaryAction, Menu, MenuItem, Tooltip } from '@material-ui/core'; import { MapsList } from './maps-list'; import { FormattedMessage } from 'react-intl'; const logo = require('../../images/logo-small.svg') type FilterType = 'public' | 'all' | 'starred' | 'shared' | 'label' | 'owned' interface Filter { type: FilterType } interface LabelFinter extends Filter { label: string } const MapsPage = (props: any) => { const classes = useStyles(); useEffect(() => { document.title = 'Maps | WiseMapping'; }, []); return (