import React from "react"; const baseClass = "upload-list"; interface IUploadListProps { listItems: any[]; // TODO: typings HeadingComponent?: (props: any) => JSX.Element; // TODO: Typings ListItemComponent: (props: { listItem: any }) => JSX.Element; // TODO: types } const UploadList = ({ listItems, HeadingComponent, ListItemComponent, }: IUploadListProps) => { const items = listItems.map((listItem) => { return (