Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Switch to NoticeBanner component inside Store Notices Block placehold…
Browse files Browse the repository at this point in the history
…er (#11920)
  • Loading branch information
mikejolley committed Nov 27, 2023
1 parent 1717221 commit 88761df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions assets/js/blocks/store-notices/edit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/
import { useBlockProps } from '@wordpress/block-editor';
import { __ } from '@wordpress/i18n';
import { Notice } from '@wordpress/components';
import NoticeBanner from '@woocommerce/base-components/notice-banner';

/**
* Internal dependencies
Expand All @@ -17,12 +17,12 @@ const Edit = (): JSX.Element => {

return (
<div { ...blockProps }>
<Notice status="info" isDismissible={ false }>
<NoticeBanner status="info" isDismissible={ false }>
{ __(
'Notices added by WooCommerce or extensions will show up here.',
'woo-gutenberg-products-block'
) }
</Notice>
</NoticeBanner>
</div>
);
};
Expand Down

0 comments on commit 88761df

Please sign in to comment.