import AppCard from './AppCard';
import '../style/AppGrid.css';

function AppGrid({ apps, section, onEdit, onDelete }) {
  return (
    <div className="app-grid">
      {apps.map(app => (
        <AppCard key={app.name} app={app} section={section} onEdit={onEdit} onDelete={onDelete} />
      ))}
    </div>
  );
}

export default AppGrid;