/**
* WordPress dependencies
*/
import { Popover, SlotFillProvider } from '@safe-wordpress/components';
import { StrictMode } from '@safe-wordpress/element';
/**
* External dependencies
*/
import { DndProvider } from 'react-dnd';
import { HTML5Backend } from 'react-dnd-html5-backend';
import {
getPremiumComponent,
ContextualHelp,
PremiumDialog,
} from '@nelio-content/components';
import { PostQuickEditor } from '@nelio-content/post-quick-editor';
import { SocialMessageEditor } from '@nelio-content/social-message-editor';
import { TaskEditor } from '@nelio-content/task-editor';
/**
* Internal dependencies
*/
import './style.scss';
import { walkthrough } from '../../walkthrough';
import { Header } from '../header';
import { Grid } from '../grid';
import { SidePane } from '../side-pane';
import { ExportDialog } from '../export-dialog';
import { ExternalCalendarManager } from '../external-calendar-manager';
import { RecurringDialog } from '../recurring-dialog';
import { TaskViewer } from '../task-viewer';
export const Layout = (): JSX.Element => {
const FutureActionEditor = getPremiumComponent(
'calendar/future-action-editor',
'null'
);
return (
null }
autostart={ true }
walkthrough={ walkthrough }
/>
);
};
// =====
// HOOKS
// =====
// NOTE: This is a TS workaround.
const DndProviderHelper = ( { children }: { children: JSX.Element } ) => (
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore:next-line
{ children }
);