import React , { FC } from 'react' ; import { IconButton } from '@material-ui/core' ; import RefreshIcon from '@material-ui/icons/Refresh' ; import styles from './styles.module.scss' ; export interface HomeButtonProps { handleClick : ( ) => void ; } const HomeButton = ( { handleClick } ) => ( < div className = { styles . control } > < IconButton onClick = { handleClick } aria - label = "home" title = "reload map" > < RefreshIcon fontSize = "large" color = "secondary" / > < /IconButton> < /div>); export default HomeButton ;