File tree Expand file tree Collapse file tree 4 files changed +19
-12
lines changed Expand file tree Collapse file tree 4 files changed +19
-12
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ import type { BlockConfiguration } from '@wordpress/blocks';
2
2
import { registerBlockType } from '@wordpress/blocks' ;
3
3
import { __ } from '@wordpress/i18n' ;
4
4
import Edit from './edit' ;
5
- import { TextIcon } from '../../components' ;
5
+ import { ParagraphIcon } from '../../components' ;
6
6
import metadata from './block.json' ;
7
7
8
8
const blockConfig : BlockConfiguration = {
9
9
...metadata ,
10
- icon : TextIcon ,
10
+ icon : ParagraphIcon ,
11
11
title : __ ( 'Paragraph' , 'gravatar-enhanced' ) ,
12
12
description : __ ( 'The Paragraph block for the Gravatar block.' , 'gravatar-enhanced' ) ,
13
13
edit : Edit ,
Original file line number Diff line number Diff line change @@ -3,5 +3,5 @@ export { default as AvatarIcon } from './avatar-icon';
3
3
export { default as ColumnIcon } from './column-icon' ;
4
4
export { default as ImageIcon } from './image-icon' ;
5
5
export { default as NameIcon } from './name-icon' ;
6
- export { default as TextIcon } from './text -icon' ;
6
+ export { default as ParagraphIcon } from './paragraph -icon' ;
7
7
export { default as LinkIcon } from './link-icon' ;
Original file line number Diff line number Diff line change
1
+ import { SVG , Path } from '@wordpress/components' ;
2
+
3
+ export default function ParagraphIcon ( ) {
4
+ return (
5
+ < SVG
6
+ xmlns = "http://www.w3.org/2000/svg"
7
+ viewBox = "0 0 24 24"
8
+ width = "24"
9
+ height = "24"
10
+ aria-hidden = "true"
11
+ focusable = "false"
12
+ >
13
+ < Path d = "m9.99609 14v-.2251l.00391.0001v6.225h1.5v-14.5h2.5v14.5h1.5v-14.5h3v-1.5h-8.50391c-2.76142 0-5 2.23858-5 5 0 2.7614 2.23858 5 5 5z" > </ Path >
14
+ </ SVG >
15
+ ) ;
16
+ }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments