import React from 'react'; const DeviceStats = ({ devices }) => { const stats = { total: devices.length, charging: devices.filter(d => d.status === 'charging').length, connected: devices.filter(d => d.status === 'connected').length, syncing: devices.filter(d => d.status === 'syncing').length, }; const StatCard = ({ title, value, icon, color }) => (