import SVGAlltsaman from 'assets/svg/allt-saman.svg';
import SVGAth from 'assets/svg/ath.svg';
import SVGFiber from 'assets/svg/wifihouse.svg';
import SVGInternet from 'assets/svg/FourGnet.svg';
import SVGPhone from 'assets/svg/phone.svg';
import SVGRecurring from 'assets/svg/recurring.svg';
import SVGWatch from 'assets/svg/watch.svg';
import SVGAlert from 'assets/svg/warning.svg';
import Close from 'assets/svg/close.svg';
import Letter from 'assets/svg/letter.svg';
import Add from 'assets/svg/add.svg';
import SVGNovaTV from 'assets/svg/NovaTV.svg';
import SVGNovaTV_white from 'assets/svg/NovaTV_white.svg';
import SVGArrowRight from 'assets/svg/arrow-right.svg';

export const getIcon = (name: string) => {
  switch (name) {
    case 'phone':
    case 'mobile':
    case 'continent':
      return <SVGPhone />;
    case 'watch':
      return <SVGWatch />;
    case 'wifihouse':
    case 'fiber':
      return <SVGFiber />;
    case 'FourGnet':
    case 'internet':
      return <SVGInternet />;
    case 'allt-saman':
    case 'service_bundle':
      return <SVGAlltsaman />;
    case 'vip_service_bundle':
      return <SVGPhone />;
    case 'ath':
      return <SVGAth />;
    case 'recurring':
      return <SVGRecurring />;
    case 'alert':
      return <SVGAlert />;
    case 'close':
      return <Close />;
    case 'nova-letter':
      return <Letter />;
    case 'add':
      return <Add />;
    case 'NovaTV':
      return <SVGNovaTV />;
    case 'NovaTV_white':
      return <SVGNovaTV_white />;
    case 'arrow-right':
      return <SVGArrowRight />;
    default:
      return null;
  }
};
