From 7f91b39f8e9fed82b1d067d841f1c22db7016958 Mon Sep 17 00:00:00 2001 From: kleap-admin Date: Fri, 16 Jan 2026 10:54:29 +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} + + ); +};