import { __ } from '@wordpress/i18n'; import type { JSX } from 'react'; import { Button } from '../../shared/ui/Button'; import { useCloseOverlay } from '../../shared/ui/overlayClose'; import { useAutofocus } from '../../shared/ui/useAutofocus'; import { EditorPicture } from './EditorPicture'; import { EDITOR_PREVIEW_TITLE_ID } from './editorPreviewTitle'; export function EditorPreview(): JSX.Element { const closeOverlay = useCloseOverlay(); const autofocus = useAutofocus< HTMLButtonElement >(); return (
{ __( 'This is what you see in the post editor when a link in your post is broken.', 'aiplaz-link-checkup' ) }