e72ec608f4
#95 #95 #95 #95 #95 Merge remote-tracking branch 'origin/main' into feature/095 #95 #95 #95 Co-authored-by: miteruzo <miteruzo@naver.com> Reviewed-on: #311
12 lines
313 B
TypeScript
12 lines
313 B
TypeScript
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>
|