import { Paper , PaperProps } from '@material-ui/core' ; import { Omit } from '@src/modules/shared/SharedTypes' ; import React from 'react' ; type BasePaperProps = Omit < PaperProps , 'elevation' > ; function BasePaper ( props ) { return < Paper { ... props } elevation = { 0 } / > ; } export default BasePaper ;