aboutsummaryrefslogtreecommitdiff
path: root/packages/ui/text/heading/heading-h3-bold.tsx
blob: be15a33c9b6f917e2fb0f09b8a6e5d468ab13a57 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { cn } from "@lib/utils";
import { Root } from "@radix-ui/react-slot";

export function HeadingH3Bold({
	className,
	asChild,
	...props
}: React.ComponentProps<"h3"> & { asChild?: boolean }) {
	const Comp = asChild ? Root : "h3";
	return (
		<Comp
			className={cn(
				"text-[0.625rem] sm:text-xs md:text-sm lg:text-base font-bold leading-[28px] tracking-[-0.4px]",
				className,
			)}
			{...props}
		/>
	);
}