diff --git a/src/app/blog/WidgetHeading1.tsx b/src/app/blog/WidgetHeading1.tsx new file mode 100644 index 0000000..e9a0405 --- /dev/null +++ b/src/app/blog/WidgetHeading1.tsx @@ -0,0 +1,31 @@ +import { CustomLink } from "@/data/types"; +import React, { FC } from "react"; + +export interface WidgetHeading1Props { + className?: string; + title: string; + viewAll: CustomLink; +} + +const WidgetHeading1: FC = ({ + className = "", + title, + viewAll, +}) => { + return ( +
+

+ {title} +

+ {!!viewAll.href && ( +
+ {viewAll.label} +
+ )} +
+ ); +}; + +export default WidgetHeading1;