All files / app/features/press SectionHeading.tsx

100% Statements 4/4
100% Branches 0/0
100% Functions 2/2
100% Lines 3/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 16 17 18 194x     19x                       19x      
import { styled } from "@mui/material";
import { PropsWithChildren } from "react";
 
const StyledHeading = styled("h2")(({ theme }) => ({
  fontSize: "1.75rem",
  fontWeight: "500",
  textAlign: "center",
  marginTop: 0,
  marginBottom: 0,
 
  [theme.breakpoints.up("md")]: {
    fontSize: "2rem",
  },
}));
 
export default function SectionHeading({ children }: PropsWithChildren) {
  return <StyledHeading>{children}</StyledHeading>;
}