import { AddNewButton, Heading } from '@elementor/app-ui';
import { SiteParts } from '@elementor/site-editor';
import './add-new.scss';
import { Context as TemplatesContext } from '../context/templates';
import BackButton from '../molecules/back-button';
export default function AddNew() {
const { templates } = React.useContext( TemplatesContext ),
hasTemplates = 1 <= Object.keys( templates ).length;
/**
* An hover element for each site part.
*/
const HoverElement = ( props ) => {
return (
);
};
HoverElement.propTypes = {
urls: PropTypes.object.isRequired,
};
return (
{ hasTemplates && }
{__( 'Start customizing every part of your site', 'elementor-pro' )}
);
}