I am trying to convert the following to use React.memo:
React.memo
interface Props { // props... } export function Table({
I solved it by keeping it as a function, renaming the function to TableComponent and doing:
TableComponent
export const Table = memo(TableComponent) as typeof TableComponent