import React from 'react'; import dynamicsFont from '../../assets/DynamicsFont/DynamicsFont.scss'; import Badge from '../Badge'; import Draggable from '../Draggable'; import styles from './styles.scss'; type ActiveCallBadgeProps = { onClick: (...args: any[]) => any; offsetX: number; offsetY: number; updatePositionOffset: (...args: any[]) => any; title?: string; }; const ActiveCallBadge: React.FC = (props) => { return ( {/* @ts-expect-error TS(2322): Type 'string | undefined' is not assignable */} {props.title} ); }; ActiveCallBadge.defaultProps = { title: 'Active Call', }; export default ActiveCallBadge;