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

function SectionGrid({ section, onEdit, onDelete }) {
  return (
    <div className="section">
      <h2 className="section-title">{section.name}</h2>
      <AppGrid apps={section.apps} section={section.name} onEdit={onEdit} onDelete={onDelete} />
    </div>
  );
}

export default SectionGrid;
