import React from "react"; import StyledRowContainer from "./RowContainer.styled"; import { InfiniteLoaderComponent } from "../infinite-loader"; import { RowContainerProps } from "./RowContainer.types"; const RowContainer = (props: RowContainerProps) => { const { manualHeight, itemHeight = 50, children, useReactWindow = true, id = "rowContainer", className, style, onScroll, filesLength, itemCount, fetchMoreFiles, hasMoreFiles, } = props; return ( {useReactWindow ? ( {children} ) : ( children )} ); }; export { RowContainer };