797e67ac37
#139 #139 #139 #139 #139 Merge branch 'feature/140' into feature/139 Merge remote-tracking branch 'origin/main' into feature/139 #140 Merge remote-tracking branch 'origin/main' into feature/140 Merge remote-tracking branch 'origin/main' into feature/140 #140 ぼちぼち Merge remote-tracking branch 'origin/main' into feature/140 #140 #140 #140 #139 アニメーション Co-authored-by: miteruzo <miteruzo@naver.com> Reviewed-on: #252
14 行
319 B
TypeScript
14 行
319 B
TypeScript
import { cn } from '@/lib/utils'
|
|
|
|
import type { FC, ReactNode } from 'react'
|
|
|
|
type Props = {
|
|
children: ReactNode
|
|
className?: string }
|
|
|
|
|
|
export default (({ children, className }: Props) => (
|
|
<main className={cn ('flex-1 overflow-y-auto p-4', className)}>
|
|
{children}
|
|
</main>)) satisfies FC<Props>
|