woocommerce/plugins/woocommerce-admin/client/customize-store/design-with-ai/index.tsx

17 lines
369 B
TypeScript
Raw Normal View History

/**
* Internal dependencies
*/
import { CustomizeStoreComponent } from '../types';
export type events = { type: 'THEME_SUGGESTED' };
export const DesignWithAi: CustomizeStoreComponent = ( { sendEvent } ) => {
return (
<>
<h1>Design with AI</h1>
<button onClick={ () => sendEvent( { type: 'THEME_SUGGESTED' } ) }>
Assembler Hub
</button>
</>
);
};