2018-10-23 09:58:34 +02:00

17 lines
298 B
TypeScript

import styled from 'styled-components';
interface ContainerProps {
wide?: boolean;
}
const Container =
styled.div <
ContainerProps >
`
max-width: 77.5rem;
margin: 0 auto;
width: ${props => (props.wide ? '100%' : 'calc(100% - 3.75rem)')};
`;
export default Container;