diff --git a/packages/block-library/src/image/image.js b/packages/block-library/src/image/image.js index 543a5580216523..b9bb60c8d805ef 100644 --- a/packages/block-library/src/image/image.js +++ b/packages/block-library/src/image/image.js @@ -38,7 +38,7 @@ import { getBlockType, switchToBlockType, } from '@wordpress/blocks'; -import { crop, textColor, upload } from '@wordpress/icons'; +import { crop, overlayText, upload } from '@wordpress/icons'; import { store as noticesStore } from '@wordpress/notices'; import { store as coreStore } from '@wordpress/core-data'; @@ -315,7 +315,7 @@ export default function Image( { ) } { ! multiImageSelection && coverBlockExists && ( replaceBlocks( diff --git a/packages/icons/src/index.js b/packages/icons/src/index.js index c66e1ad7382fe4..354b311547b9cc 100644 --- a/packages/icons/src/index.js +++ b/packages/icons/src/index.js @@ -119,6 +119,7 @@ export { default as moreHorizontal } from './library/more-horizontal'; export { default as moreHorizontalMobile } from './library/more-horizontal-mobile'; export { default as moreVertical } from './library/more-vertical'; export { default as navigation } from './library/navigation'; +export { default as overlayText } from './library/overlay-text'; export { default as pageBreak } from './library/page-break'; export { default as page } from './library/page'; export { default as pages } from './library/pages'; diff --git a/packages/icons/src/library/overlay-text.js b/packages/icons/src/library/overlay-text.js new file mode 100644 index 00000000000000..089feaa5293e82 --- /dev/null +++ b/packages/icons/src/library/overlay-text.js @@ -0,0 +1,12 @@ +/** + * WordPress dependencies + */ +import { SVG, Path } from '@wordpress/primitives'; + +const overlayText = ( + + + +); + +export default overlayText;