import classes from './AppGrid.module.css'; import { Link } from 'react-router-dom'; import { App } from '../../../interfaces/App'; import AppCard from '../AppCard/AppCard'; interface ComponentProps { apps: App[]; totalApps?: number; } const AppGrid = (props: ComponentProps): JSX.Element => { let apps: JSX.Element; if (props.apps.length > 0) { apps = (
There are no pinned applications. You can pin them from the /applications menu
); } else { apps = (You don't have any applications. You can add a new one from /applications menu
); } } return apps; } export default AppGrid;