/** * External dependencies */ import { Button, Modal } from '@wordpress/components'; import { __ } from '@wordpress/i18n'; type AiOfflineModalProps = { skipTour: () => void; takeTour: () => void; shouldTourBeShown: boolean; }; export const AiOfflineModal = ( { skipTour, takeTour, shouldTourBeShown, }: AiOfflineModalProps ) => { return ( { __( 'Our AI tool had a few issues generating your content.', 'woocommerce' ) }

{ __( "But don't let that stop you! Start customizing the look and feel of your store by adding your logo and selecting your colors and layout. ", 'woocommerce' ) } { shouldTourBeShown && __( "Take a quick tour to discover what's possible.", 'woocommerce' ) }

{ shouldTourBeShown && (
) }
); };