import { cn } from '@/lib/utils'

import type { ComponentPropsWithoutRef, FC } from 'react'

type Props = ComponentPropsWithoutRef<'h2'>


export default (({ children, className, ...rest }: Props) => (
    <h2 {...rest} className={cn ('text-xl my-4', className)}>
      {children}
    </h2>)) satisfies FC<Props>
