import React from 'react';

interface EnterpriseAnalyticsPanelProps {
  data: Array<{ id: string; metric: string; value: number }>;
}

export const EnterpriseAnalyticsPanel: React.FC<EnterpriseAnalyticsPanelProps> = ({ data }) => {
  return (
    <div className="enterprise-analytics-panel">
      <h2>Enterprise Analytics</h2>
      <ul>
        {data.map((item) => (
          <li key={item.id}>
            <span>{item.metric}:</span> <span>{item.value}</span>
          </li>
        ))}
      </ul>
    </div>
  );
};
