import React from "react"; import { Virtuoso } from "react-virtuoso"; export interface ListProps { children: React.ReactNode; total: number; style: { height: string }; } /** * This is the `` component
* Use this to render large data sets (virtualized) */ const List: React.FC = (props) => { const { children, total } = props; return ( children} /> ); }; export default List;