diff --git a/packages/block-editor/src/components/media-upload/index.native.js b/packages/block-editor/src/components/media-upload/index.native.js index 9300e37ac2cfe3..1e9c5415580310 100644 --- a/packages/block-editor/src/components/media-upload/index.native.js +++ b/packages/block-editor/src/components/media-upload/index.native.js @@ -13,7 +13,13 @@ import { requestMediaPicker, mediaSources, } from '@wordpress/react-native-bridge'; -import { capturePhoto, captureVideo, image, wordpress } from '@wordpress/icons'; +import { + capturePhoto, + captureVideo, + image, + video, + wordpress, +} from '@wordpress/icons'; export const MEDIA_TYPE_IMAGE = 'image'; export const MEDIA_TYPE_VIDEO = 'video'; @@ -125,9 +131,9 @@ export class MediaUpload extends React.Component { const isVideo = isOneType && allowedTypes.includes( MEDIA_TYPE_VIDEO ); if ( isImage || ! isOneType ) { - return 'format-image'; + return image; } else if ( isVideo ) { - return 'format-video'; + return video; } } diff --git a/packages/components/src/dropdown-menu/index.native.js b/packages/components/src/dropdown-menu/index.native.js index c8163fd6f8bee6..18a9ed888ff104 100644 --- a/packages/components/src/dropdown-menu/index.native.js +++ b/packages/components/src/dropdown-menu/index.native.js @@ -11,6 +11,7 @@ import { DOWN } from '@wordpress/keycodes'; import deprecated from '@wordpress/deprecated'; import { BottomSheet, PanelBody } from '@wordpress/components'; import { withPreferredColorScheme } from '@wordpress/compose'; +import { menu } from '@wordpress/icons'; /** * Internal dependencies @@ -38,7 +39,7 @@ function DropdownMenu( { children, className, controls, - icon = 'menu', + icon = menu, label, popoverProps, toggleProps,