({ className, title, text, tag })
| 1 | import TagLine from "./Tagline"; |
| 2 | |
| 3 | const 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 | |
| 15 | export default Heading; |
nothing calls this directly
no outgoing calls
no test coverage detected