MCPcopy
hub / github.com/adrianhajdin/brainwave / Heading

Function Heading

src/components/Heading.jsx:3–13  ·  view source on GitHub ↗
({ className, title, text, tag })

Source from the content-addressed store, hash-verified

1import TagLine from "./Tagline";
2
3const Heading = ({ className, title, text, tag }) => {
4 return (
5 <div
6 className={`${className} max-w-[50rem] mx-auto mb-12 lg:mb-20 md:text-center`}
7 >
8 {tag && <TagLine className="mb-4 md:justify-center">{tag}</TagLine>}
9 {title && <h2 className="h2">{title}</h2>}
10 {text && <p className="body-2 mt-4 text-n-4">{text}</p>}
11 </div>
12 );
13};
14
15export default Heading;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected