// External dependencies.
import React from 'react';
import { Tooltip } from '@brainstormforce/starter-templates';
import { __ } from '@wordpress/i18n';

// Internal dependencies.
import ICONS from '../../../icons';
import './style.scss';

const ExitToDashboard = () => {
	return (
		<a className="st-exit-to-dashboard" href={ starterTemplates.adminUrl }>
			<Tooltip content={ __( 'Exit to Dashboard', 'astra-sites' ) }>
				{ ICONS.dashboard }
			</Tooltip>
		</a>
	);
};

export default ExitToDashboard;
