import { __ } from '@wordpress/i18n';
import '@shared/app.css';
import { ToolTip } from '@shared/components/Tooltip';

export const EditPageToolTip = () => {
	return (
		<ToolTip
			title={__('Tooltip pointing to the edit page button', 'extendify-local')}
			anchor={document.querySelector('#wp-admin-bar-edit')}>
			{__(
				"Welcome to your new site! When you're ready, press here to edit this page.",
				'extendify-local',
			)}
		</ToolTip>
	);
};
