import Tabs , { TabsProps } from "@material-ui/core/Tabs" ; import React from "react" ; import useStyles from "./styles" ; export const PageTabs = ( props ) => { const classes = useStyles ( ) ; return ( < Tabs { ... props } classes = { { flexContainer : classes . containerFlex , root : classes . containerRoot } } TabIndicatorProps = { { style : { display : "none" } } } onChange = { ( _ , value ) => props . onChange ( value ) } />); } ; PageTabs . displayName = "PageTabs" ;