All files / src/components/title Title.tsx

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

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                                     
import { FC } from 'react';
import styled from 'styled-components';
 
type Props = {
  title: string;
};
 
const StyledTitle = styled.h1`
  font-size: 3.2rem;
  font-weight: 400;
  text-align: center;
`;
 
const Title: FC<Props> = (props) => {
  return <StyledTitle>{props.title}</StyledTitle>;
};
 
export default Title;