fix: import ReactNode, Dispatch, SetStateAction explicitly (React namespace not in scope)

This commit is contained in:
2026-02-28 21:29:04 +01:00
parent 57d666e759
commit 3a82801360
2 changed files with 8 additions and 7 deletions

View File

@@ -1,3 +1,4 @@
import { ReactNode } from 'react'
import Table from '@mui/material/Table'
import TableBody from '@mui/material/TableBody'
import TableCell from '@mui/material/TableCell'
@@ -13,7 +14,7 @@ import Typography from '@mui/material/Typography'
export interface Column<T> {
key: keyof T
label: string
render?: (row: T) => React.ReactNode
render?: (row: T) => ReactNode
}
interface Props<T extends { id: number }> {