Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export const Container = styled.div(({ isFullWidth }) => ({
maxWidth: isFullWidth ? '100%' : CONTAINER_WIDTH,
paddingLeft: CONTAINER_GUTTER,
paddingRight: CONTAINER_GUTTER,
transition: 'max-width 200ms cubic-bezier(0.2, 0, 0, 1)',
[mediaQueries.smOnly]: {
paddingLeft: gridSize * 2,
paddingRight: gridSize * 2,
},
}));