import React from 'react'; import { Card, CardContent, CardHeader, CardTitle } from '../ui/card'; import { Button } from '../ui/button'; import { Plug, Thermometer, Weight, Activity, Database } from 'lucide-react'; import { cn } from '../ui/utils'; export function SensorsNetwork() { const sensors = [ { name: 'Temp', icon: Thermometer, status: '97% online', color: 'bg-green-100 text-green-600' }, { name: 'Weight', icon: Weight, status: '92% online', color: 'bg-green-100 text-green-600' }, { name: 'Motion', icon: Activity, status: '85% online', color: 'bg-yellow-100 text-yellow-600' }, { name: 'Quality', icon: Database, status: '63% online', color: 'bg-red-100 text-red-600' }, ]; return (
Sensors Network
Device status monitoring
{sensors.map((sensor, index) => (
{sensor.name}
{sensor.status}
))}
); }