diff --git a/packages/block-library/src/post-date/index.js b/packages/block-library/src/post-date/index.js index 2ae69d12de74d..c1d49d92ba2e4 100644 --- a/packages/block-library/src/post-date/index.js +++ b/packages/block-library/src/post-date/index.js @@ -2,6 +2,7 @@ * WordPress dependencies */ import { __ } from '@wordpress/i18n'; +import { postDate as icon } from '@wordpress/icons'; /** * Internal dependencies @@ -14,5 +15,7 @@ export { metadata, name }; export const settings = { title: __( 'Post Date' ), + description: __( 'Add the date of this post.' ), + icon, edit, }; diff --git a/packages/icons/src/index.js b/packages/icons/src/index.js index 2a3a332ac2ea1..a72ed4167ba18 100644 --- a/packages/icons/src/index.js +++ b/packages/icons/src/index.js @@ -117,6 +117,7 @@ export { default as plugins } from './library/plugins'; export { default as plusCircleFilled } from './library/plus-circle-filled'; export { default as plusCircle } from './library/plus-circle'; export { default as plus } from './library/plus'; +export { default as postDate } from './library/post-date'; export { default as postList } from './library/post-list'; export { default as postTitle } from './library/post-title'; export { default as preformatted } from './library/preformatted'; diff --git a/packages/icons/src/library/post-date.js b/packages/icons/src/library/post-date.js new file mode 100644 index 0000000000000..d3cb34014011e --- /dev/null +++ b/packages/icons/src/library/post-date.js @@ -0,0 +1,21 @@ +/** + * WordPress dependencies + */ +import { Path, SVG } from '@wordpress/primitives'; + +const postDate = ( + + + + +); + +export default postDate;