All files / components/Cards/Card styled.tsx

100% Statements 6/6
100% Branches 0/0
100% Functions 1/1
100% Lines 6/6

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 16 17 18 19 20 21 222x   2x   2x 3x             2x           2x      
import H5 from "components/Typography/H5"
import { Theme } from "styles/theme"
import styled from "styled-components"
 
export const Wrapper = styled.div`
  background: ${({ theme }: { theme: Theme }) => theme.palette.text.contrast};
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: grid;
  padding: 20px;
  row-gap: 10px;
`
 
export const Heading = styled(H5)`
  font-size: 18px;
  text-align: center;
  text-transform: uppercase;
`
 
export const Main = styled.div`
  display: grid;
`