diff --git a/packages/block-library/src/site-logo/edit.js b/packages/block-library/src/site-logo/edit.js index 27023d7489be9f..c2daa2e9ceefd5 100644 --- a/packages/block-library/src/site-logo/edit.js +++ b/packages/block-library/src/site-logo/edit.js @@ -29,11 +29,11 @@ import { } from '@wordpress/block-editor'; import { useSelect, useDispatch } from '@wordpress/data'; import { store as coreStore } from '@wordpress/core-data'; +import { siteLogo as icon } from '@wordpress/icons'; /** * Internal dependencies */ -import icon from './icon'; import useClientWidth from '../image/use-client-width'; /** diff --git a/packages/block-library/src/site-logo/icon.js b/packages/block-library/src/site-logo/icon.js deleted file mode 100644 index a7118a72de038c..00000000000000 --- a/packages/block-library/src/site-logo/icon.js +++ /dev/null @@ -1,24 +0,0 @@ -/** - * WordPress dependencies - */ -import { SVG, Path } from '@wordpress/components'; - -export default ( - - - - -); diff --git a/packages/block-library/src/site-logo/index.js b/packages/block-library/src/site-logo/index.js index f5c540d209802f..8c7b7d04719387 100644 --- a/packages/block-library/src/site-logo/index.js +++ b/packages/block-library/src/site-logo/index.js @@ -2,12 +2,12 @@ * WordPress dependencies */ import { __, _x } from '@wordpress/i18n'; +import { siteLogo as icon } from '@wordpress/icons'; /** * Internal dependencies */ import metadata from './block.json'; -import icon from './icon'; import edit from './edit'; const { name } = metadata; diff --git a/packages/icons/src/index.js b/packages/icons/src/index.js index 0e927cad850288..94b7952225d939 100644 --- a/packages/icons/src/index.js +++ b/packages/icons/src/index.js @@ -173,6 +173,7 @@ export { default as search } from './library/search'; export { default as separator } from './library/separator'; export { default as settings } from './library/settings'; export { default as share } from './library/share'; +export { default as siteLogo } from './library/site-logo'; export { default as shortcode } from './library/shortcode'; export { default as stack } from './library/stack'; export { default as starEmpty } from './library/star-empty'; diff --git a/packages/icons/src/library/site-logo.js b/packages/icons/src/library/site-logo.js new file mode 100644 index 00000000000000..94d5567a00e419 --- /dev/null +++ b/packages/icons/src/library/site-logo.js @@ -0,0 +1,12 @@ +/** + * WordPress dependencies + */ +import { SVG, Path } from '@wordpress/primitives'; + +const siteLogo = ( + + + +); + +export default siteLogo;