import React from 'react'

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

import type { FC } from 'react'

type Props = { children: React.ReactNode; className?: string }


const PageTitle: FC<Props> = ({ children, className, ...rest }) => (
    <h1 className={cn ('text-2xl font-bold mb-2', className)} {...rest}>
      {children}
    </h1>)

export default PageTitle
