2024-03-18 07:44:32 +00:00
|
|
|
/**
|
|
|
|
* External dependencies
|
|
|
|
*/
|
2024-05-31 03:49:36 +00:00
|
|
|
import clsx from 'clsx';
|
2024-03-18 07:44:32 +00:00
|
|
|
/**
|
|
|
|
* Internal dependencies
|
|
|
|
*/
|
|
|
|
import type { MainContentComponentProps } from '../xstate';
|
|
|
|
export const LoadingPage = ( props: MainContentComponentProps ) => {
|
|
|
|
return (
|
|
|
|
<div
|
2024-05-31 03:49:36 +00:00
|
|
|
className={ clsx(
|
2024-03-18 07:44:32 +00:00
|
|
|
'launch-store-loading-page__container',
|
|
|
|
props.className
|
|
|
|
) }
|
|
|
|
>
|
|
|
|
<p>Main Content - Loading page</p>
|
|
|
|
<button
|
|
|
|
onClick={ () => {
|
|
|
|
props.sendEventToSidebar( {
|
|
|
|
type: 'LAUNCH_STORE_SUCCESS',
|
|
|
|
} );
|
|
|
|
} }
|
|
|
|
>
|
|
|
|
Launch Store Success
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|