import { Dialog } from '@automattic/components'; import { translate } from 'i18n-calypso'; export const ExternalLinkDialog = ( { isVisible, closeModalHandler } ) => { return ( closeModalHandler( false ), }, { action: 'ok', label: translate( 'Continue' ), isPrimary: true, onClick: () => closeModalHandler( true ), }, ] } onClose={ () => closeModalHandler( false ) } >

{ translate( 'A support chat session is currently in progress. Click continue to open this link in a new tab.' ) }

); }; export default ExternalLinkDialog;