// @flow import React from 'react'; import { Avatar } from '../../../base/avatar'; import { translate } from '../../../base/i18n'; import { Icon, IconClose } from '../../../base/icons'; import Label from '../Label'; type Props = { /** * The phone number that is being called. */ number: string, /** * Closes the dialog. */ onClose: Function, /** * Handler used on hangup click. */ onHangup: Function, /** * The status of the call. */ status: string, /** * Used for translation. */ t: Function, }; /** * Dialog displayed when the user gets called by the meeting. * * @param {Props} props - The props of the component. * @returns {ReactElement} */ function CallingDialog(props: Props) { const { number, onClose, status, t } = props; return (
{number}
); } export default translate(CallingDialog);