import type { FunctionComponent } from 'react'; import React from 'react'; import InboundCall from '../../../assets/images/InboundCall.svg'; import OutboundCall from '../../../assets/images/OutboundCall.svg'; import styles from './styles.scss'; interface CallIconProps { title?: string; isInbound: boolean; } export const CallIcon: FunctionComponent = ({ title, isInbound, }) => { return (
{isInbound ? : }
); };