aboutsummaryrefslogblamecommitdiffstats
path: root/packages/dev-tools-pages/ts/components/container.tsx
blob: 1b9212ed2340fa66321a0301080ca399bb0bba18 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                       







                          
                       
                   
                                                                   

  
                     
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 };