import React from "react"; import { AppCategory, IAppCategoryProps } from "./appCategory"; import { IAppProps } from "./app"; import { Headline, ListContainer } from "./elements"; export interface IAppListProps { categories: Array; apps: Array; } const AppList = ({ categories, apps }: IAppListProps) => { return ( Applications {categories && categories.map(({ name, items }, idx) => ( ))} {apps && ( )} ); }; export default AppList;