All files / styles Content.js

50% Statements 2/4
0% Branches 0/2
0% Functions 0/2
66.67% Lines 2/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15      1x       1x              
import { css } from 'emotion';
import styled from '@appbaseio/vue-emotion';
 
const alert = ({ theme }) => css`
	color: ${theme.colors.alertColor};
`;
 
const Content = styled('div')`
	${props => props.alert && alert};
	font-size: 13px;
	margin: 8px;
`;
 
export default Content;