import * as React from 'react' ; import styled from '@emotion/styled' ; import { widths } from '../styles/variables' ; const StyledContainer = styled . div `
  position: relative;
  margin-left: auto;
  margin-right: auto;
  width: auto;
  max-width: ${ widths . lg }px;
` ; interface ContainerProps { className ? : string ; } const Container = ( { children , className } ) => ( < StyledContainer className = { className } > { children } < /StyledContainer>); export default Container ;