diff --git a/packages/block-editor/src/components/preview-options/index.js b/packages/block-editor/src/components/preview-options/index.js index 2b4c0dc7a95fe4..d173542e02570a 100644 --- a/packages/block-editor/src/components/preview-options/index.js +++ b/packages/block-editor/src/components/preview-options/index.js @@ -9,7 +9,7 @@ import classnames from 'classnames'; import { useViewportMatch } from '@wordpress/compose'; import { DropdownMenu, MenuGroup, MenuItem } from '@wordpress/components'; import { __ } from '@wordpress/i18n'; -import { check } from '@wordpress/icons'; +import { check, desktop, mobile, tablet } from '@wordpress/icons'; export default function PreviewOptions( { children, @@ -38,13 +38,20 @@ export default function PreviewOptions( { const menuProps = { 'aria-label': __( 'View options' ), }; + + const deviceIcons = { + mobile, + tablet, + desktop, + }; + return ( { () => ( <>