diff --git a/packages/block-editor/src/components/media-placeholder/index.native.js b/packages/block-editor/src/components/media-placeholder/index.native.js index 1e1714ab935371..2a0fc55f7defe7 100644 --- a/packages/block-editor/src/components/media-placeholder/index.native.js +++ b/packages/block-editor/src/components/media-placeholder/index.native.js @@ -44,8 +44,8 @@ function MediaPlaceholder( props ) { multiple, value = [], children, - customEmptyStateContainer, - customEmptyStateTitle, + customEmptyStateContainerStyles, + customEmptyStateTitleStyles, } = props; // use ref to keep media array current for callbacks during rerenders @@ -94,7 +94,7 @@ function MediaPlaceholder( props ) { } const emptyStateTitleStyle = getStylesFromColorScheme( - [ styles.emptyStateTitle, props.customEmptyStateTitle ], + [ styles.emptyStateTitle, customEmptyStateTitleStyles ], styles.emptyStateTitleDark ); const addMediaButtonStyle = getStylesFromColorScheme( @@ -137,7 +137,7 @@ function MediaPlaceholder( props ) { styles.appenderDark ); const emptyStateContainerStyle = getStylesFromColorScheme( - [ styles.emptyStateContainer, props.customEmptyStateContainer ], + [ styles.emptyStateContainer, customEmptyStateContainerStyles ], styles.emptyStateContainerDark ); diff --git a/packages/block-library/src/cover/edit.native.js b/packages/block-library/src/cover/edit.native.js index 44f45b720831a6..3c55ea7ec81279 100644 --- a/packages/block-library/src/cover/edit.native.js +++ b/packages/block-library/src/cover/edit.native.js @@ -346,10 +346,10 @@ const Cover = ( { return ( @@ -236,7 +238,10 @@ function ColorPalette( { } ) } { shouldShowCustomIndicator && ( @@ -246,12 +251,20 @@ function ColorPalette( { accessibilityState={ { selected: isSelectedCustom() } } accessibilityHint={ accessibilityHint } > - + { shouldShowCustomLabel && (