soupette f50f89f0a8 Update eslint configuration
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-01-21 16:03:31 +01:00

29 lines
472 B
JavaScript

import styled, { css } from 'styled-components';
const Wrapper = styled.div`
display: flex;
flex-direction: column;
justify-content: space-around;
height: 30px;
width: 100%;
padding: 0 5px;
${({ isComponent }) => {
if (isComponent) {
return css`
height: 34px;
padding: 0;
`;
}
return '';
}}
border-radius: 2px;
> div {
width: 100%;
height: 2px;
background: #007eff;
}
`;
export default Wrapper;