利用規約(#95) (#311)
#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
This commit was merged in pull request #311.
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
import React from 'react'
|
||||
import { cn } from '@/lib/utils'
|
||||
|
||||
type Props = { children: React.ReactNode }
|
||||
import type { ComponentPropsWithoutRef, FC } from 'react'
|
||||
|
||||
type Props = ComponentPropsWithoutRef<'h2'>
|
||||
|
||||
|
||||
export default ({ children }: Props) => (
|
||||
<h2 className="text-xl my-4">
|
||||
export default (({ children, className, ...rest }: Props) => (
|
||||
<h2 {...rest} className={cn ('text-xl my-4', className)}>
|
||||
{children}
|
||||
</h2>)
|
||||
</h2>)) satisfies FC<Props>
|
||||
|
||||
Reference in New Issue
Block a user