1
0
Fork 1
mirror of https://github.com/SomboChea/ui synced 2024-04-28 07:31:36 +07:00
verdaccio-ui/src/components/Logo/index.js
Priscila Oliveira e2d478d65b initial commit
2019-02-03 17:04:42 +01:00

30 lines
550 B
JavaScript

/**
* @prettier
* @flow
*/
import styled, { css } from 'react-emotion';
import logo from './img/logo.svg';
const Logo = styled.div`
&& {
display: inline-block;
vertical-align: middle;
box-sizing: border-box;
background-position: center;
background-size: contain;
background-image: url(${logo});
background-repeat: no-repeat;
width: 40px;
height: 40px;
${props =>
props.md &&
css`
width: 90px;
height: 90px;
`};
}
`;
export default Logo;