2018-11-19 17:27:00 +01:00

17 lines
291 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% - 5rem)')};
`;
export { Container };