From 55d4c8a8d23d2c8c5bb3c08dc3fee1527e057ed6 Mon Sep 17 00:00:00 2001 From: kleap-admin Date: Fri, 16 Jan 2026 16:57:09 +0000 Subject: [PATCH] Update components/subheading.tsx --- components/subheading.tsx | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 components/subheading.tsx diff --git a/components/subheading.tsx b/components/subheading.tsx new file mode 100644 index 0000000..13242c4 --- /dev/null +++ b/components/subheading.tsx @@ -0,0 +1,29 @@ +import { cn } from "@/lib/utils"; +import { MotionProps } from "framer-motion"; +import React from "react"; +import Balancer from "react-wrap-balancer"; + +export const Subheading = ({ + className, + as: Tag = "h2", + children, + ..._props +}: { + className?: string; + as?: any; + children: any; + props?: React.HTMLAttributes; +} & MotionProps & + React.HTMLAttributes) => { + return ( + + {children} + + ); +};