ファイル
btrc-hub/frontend/src/components/common/SectionTitle.tsx
T
2026-05-11 03:32:47 +09:00

13 行
329 B
TypeScript

import { cn } from '@/lib/utils'
import type { ComponentPropsWithoutRef, FC } from 'react'
type Props = ComponentPropsWithoutRef<'h2'>
const SectionTitle: FC<Props> = ({ children, className, ...rest }) => (
<h2 {...rest} className={cn ('text-xl my-4', className)}>
{children}
</h2>)
export default SectionTitle