import { FC } from 'react'; import { CgSmartHomeBoiler } from 'react-icons/cg'; import { MdOutlineSensors } from 'react-icons/md'; import { FaSolarPanel } from 'react-icons/fa'; import { MdThermostatAuto } from 'react-icons/md'; import { AiOutlineControl } from 'react-icons/ai'; import { GiHeatHaze } from 'react-icons/gi'; import { TiFlowSwitch } from 'react-icons/ti'; import { VscVmConnect } from 'react-icons/vsc'; import { AiOutlineGateway } from 'react-icons/ai'; import { AiOutlineAlert } from 'react-icons/ai'; import { AiOutlineChrome } from 'react-icons/ai'; interface DeviceIconProps { type: string; } const DeviceIcon: FC = ({ type }) => { switch (type) { case 'Boiler': return ; case 'Sensor': return ; case 'Solar': return ; case 'Thermostat': return ; case 'Mixer': return ; case 'Heatpump': return ; case 'Switch': return ; case 'Connect': return ; case 'Gateway': return ; case 'Alert': return ; case 'Pump': return ; default: return null; } }; export default DeviceIcon;