import { DetailedHTMLProps, HTMLAttributes } from "react";
import { twMerge } from "tailwind-merge";

export default function H3({
    ...props
}: DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>) {
    return (
        <h3 {...props} className={twMerge("text-xl mb-4", props.className)}>
            {props.children}
        </h3>
    );
}
