import { AppInstallationFragment } from "@dashboard/graphql"; import { GetV2SaleorAppsResponse } from "@dashboard/new-apps/marketplace.types"; import { resolveInstallationOfMarketplaceApp } from "@dashboard/new-apps/utils"; import { Skeleton } from "@material-ui/lab"; import { Box } from "@saleor/macaw-ui/next"; import React from "react"; import AppListCard from "../AppListCard"; interface AllAppListProps { appList?: GetV2SaleorAppsResponse.SaleorApp[]; appInstallationList?: AppInstallationFragment[]; navigateToAppInstallPage?: (manifestUrl: string) => void; navigateToGithubForkPage?: (githubForkUrl: string) => void; } const AllAppList: React.FC = ({ appList, appInstallationList, navigateToAppInstallPage, navigateToGithubForkPage, }) => { if (!appList) { return ; } return ( {appList.map(app => ( ))} ); }; export default AllAppList;