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

Commit

Permalink
Add page icon as per design
Browse files Browse the repository at this point in the history
  • Loading branch information
frontdevde committed Nov 2, 2021
1 parent 6d9cd1c commit 7dcbe17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/js/blocks/legacy-template/index.tsx
Expand Up @@ -8,6 +8,7 @@ import {
import { useBlockProps } from '@wordpress/block-editor';
import { Placeholder } from '@wordpress/components';
import { __, sprintf } from '@wordpress/i18n';
import { page } from '@wordpress/icons';

/**
* Internal dependencies
Expand All @@ -28,6 +29,7 @@ const Edit = ( { attributes }: Props ) => {
return (
<div { ...blockProps }>
<Placeholder
icon={ page }
label={ templateTitle }
className="wp-block-woocommerce-legacy-template__placeholder"
>
Expand Down

0 comments on commit 7dcbe17

Please sign in to comment.