import React from 'react' ; import { Box , BoxProps } from '@material-ui/core' ; const CenterHorizontally = ( props ) => { return < Box { ... props } marginX = "auto" / > ; } ; export default CenterHorizontally ;