import React from "react"; export const HeaderText = ({ type, text, link }): JSX.Element => { const Header = type; return (
{text} {link && ( )}
); };