2020-07-03 21:55:33 +01:00
|
|
|
import styled from 'styled-components/macro';
|
|
|
|
import { breakpoint } from '@/theme';
|
|
|
|
import tw from 'twin.macro';
|
2020-04-17 19:07:32 +01:00
|
|
|
|
|
|
|
const ContentContainer = styled.div`
|
|
|
|
${tw`mx-4`};
|
|
|
|
|
|
|
|
${breakpoint('xl')`
|
|
|
|
${tw`mx-auto`};
|
|
|
|
`};
|
|
|
|
`;
|
2020-07-03 21:55:33 +01:00
|
|
|
ContentContainer.displayName = 'ContentContainer';
|
2023-08-04 19:24:08 +01:00
|
|
|
ContentContainer.defaultProps = {
|
|
|
|
className: 'content-container',
|
|
|
|
};
|
2020-04-17 19:07:32 +01:00
|
|
|
|
|
|
|
export default ContentContainer;
|