import { Theme , withStyles } from "@material-ui/core/styles" ; import Tooltip from "@material-ui/core/Tooltip" ; export default withStyles ( ( theme ) => ( { tooltip : { backgroundColor : "#f5f5f9" , color : "rgba(0, 0, 0, 0.87)" , maxWidth : 400 , fontSize : theme . typography . pxToRem ( 12 ) , border : "1px solid #dadde9" , } , } ) ) ( Tooltip ) ;