woocommerce/plugins/woocommerce-admin/client/launch-your-store/hub/main-content/pages/loading.tsx

30 lines
550 B
TypeScript
Raw Normal View History

/**
* External dependencies
*/
import clsx from 'clsx';
/**
* Internal dependencies
*/
import type { MainContentComponentProps } from '../xstate';
export const LoadingPage = ( props: MainContentComponentProps ) => {
return (
<div
className={ clsx(
'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>
);
};