// AlertsPanel.jsx import React from "react"; const AlertsPanel = () => { // Hard-coded alerts data const alerts = [ { id: 1, message: "Temperature exceeds threshold", type: "warning" }, { id: 2, message: "New sensor connected", type: "info" }, { id: 3, message: "Power consumption high", type: "warning" }, ]; return (
{alerts.map((alert) => (

{alert.message}

))}
); }; export default AlertsPanel;