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 | 4x 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>;
}
|