Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 19x | import { ReactElement } from "react"; import dynamic from "next/dynamic"; import { VirtualizedListProps } from "./VirtualList"; const VirtualizedList = dynamic(() => import("./VirtualList"), { ssr: false, }) as <T>(props: Readonly<VirtualizedListProps<T>>) => ReactElement | null; export default function VirtualList<T>( props: Readonly<VirtualizedListProps<T>> ): ReactElement | null { return <VirtualizedList {...props} />; } |