// @flow import React from 'react'; import { translate } from '../../../base/i18n'; import { Icon, IconClose } from '../../../base/icons'; import Label from '../Label'; import ActionButton from '../buttons/ActionButton'; import CountryPicker from '../country-picker/CountryPicker'; type Props = { /** * Closes a dialog. */ onClose: Function, /** * Submit handler. */ onSubmit: Function, /** * Handler for text button. */ onTextButtonClick: Function, /** * Used for translation. */ t: Function, }; /** * This component displays the dialog from wich the user can enter the * phone number in order to be called by the meeting. * * @param {Props} props - The props of the component. * @returns {React$Element} */ function DialOutDialog(props: Props) { const { onClose, onTextButtonClick, onSubmit, t } = props; return (