Skip to content

Commit

Permalink
rename to PluginPreviewMenuItem
Browse files Browse the repository at this point in the history
  • Loading branch information
lezama committed Aug 30, 2024
1 parent 56b44c9 commit c73e7fd
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { registerJetpackPlugin } from '@automattic/jetpack-shared-extension-utils';
import { createBlock } from '@wordpress/blocks';
import { select } from '@wordpress/data';
import { PluginPreviewDropdownItem } from '@wordpress/editor';
import { PluginPreviewMenuItem } from '@wordpress/editor';
import { addFilter } from '@wordpress/hooks';
import { atSymbol, send } from '@wordpress/icons';
import { registerJetpackBlockFromMetadata } from '../../shared/register-jetpack-block';
Expand Down Expand Up @@ -81,10 +81,10 @@ registerJetpackPlugin( blockName, {
<SubscribePanels />
{ shouldShowNewsletterMenu() && <NewsletterMenu /> }
<CommandPalette />
<PluginPreviewDropdownItem onClick={ () => {} }>Custom Preview</PluginPreviewDropdownItem>
<PluginPreviewDropdownItem onClick={ () => {} } icon={ send }>
<PluginPreviewMenuItem onClick={ () => {} }>Custom Preview</PluginPreviewMenuItem>
<PluginPreviewMenuItem onClick={ () => {} } icon={ send }>
Email preview
</PluginPreviewDropdownItem>
</PluginPreviewMenuItem>
</>
);
},
Expand Down

0 comments on commit c73e7fd

Please sign in to comment.