soupette 9dd5ecf78d Add renew token and fix design
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 10:32:30 +02:00

23 lines
503 B
JavaScript

import styled from 'styled-components';
import Background from '../../../../assets/images/background_empty.svg';
/* eslint-disable indent */
const Section = styled.section`
text-align: ${({ textAlign }) => textAlign};
${({ withBackground }) =>
withBackground &&
`
background-image: url(${Background});
background-position-x: center;
background-position-Y: center;
`}
`;
Section.defaultProps = {
withBackground: false,
textAlign: 'initial',
};
export default Section;