import { GetV2SaleorAppsResponse } from "@dashboard/new-apps/marketplace.types"; import { Skeleton } from "@material-ui/lab"; import React from "react"; import AppListCard from "../AppListCard"; import { useStyles } from "./styles"; interface AllAppListProps { appList?: GetV2SaleorAppsResponse.SaleorApp[]; navigateToAppInstallPage?: (manifestUrl: string) => void; navigateToVercelDeploymentPage?: (vercelDeploymentUrl: string) => void; } const AllAppList: React.FC = ({ appList, navigateToAppInstallPage, navigateToVercelDeploymentPage, }) => { const classes = useStyles(); if (!appList) { return ; } return (
{appList.map(app => ( ))}
); }; export default AllAppList;