import Tab , { TabProps } from "@material-ui/core/Tab" ; import React from "react" ; import useStyles from "./styles" ; export const PageTab = ( props ) => { const classes = useStyles ( ) ; return ( < Tab classes = { { root : classes . tabRoot } } disableRipple { ... props } />); } ; PageTab . displayName = "PageTab" ;