ファイル
btrc-hub/frontend/src/components/common/PageTitle.tsx
T
みてるぞ f336b2f13b 外部タグを分離 (#419) (#420)
**本番 DB のバックアップをかならずすること**

Reviewed-on: #420
Co-authored-by: miteruzo <miteruzo@naver.com>
2026-09-25 01:15:06 +09:00

14 行
315 B
TypeScript

import { cn } from '@/lib/utils'
import type { ComponentProps, FC } from 'react'
type Props = ComponentProps<'h1'>
const PageTitle: FC<Props> = ({ children, className, ...rest }) => (
<h1 className={cn ('text-2xl font-bold mb-2', className)} {...rest}>
{children}
</h1>)
export default PageTitle