Skip to content

Commit

Permalink
rename effects to shadow
Browse files Browse the repository at this point in the history
  • Loading branch information
madhusudhand committed Feb 2, 2023
1 parent 7d71ec2 commit 1897238
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {
import {
typography,
border,
shadow,
color,
layout,
chevronLeft,
Expand Down Expand Up @@ -94,11 +95,11 @@ function ContextMenu( { name, parentMenu = '' } ) {
) }
{ hasEffectsPanel && (
<NavigationButtonAsItem
icon={ border }
icon={ shadow }
path={ parentMenu + '/effects' }
aria-label={ __( 'Effects' ) }
aria-label={ __( 'Shadow' ) }
>
{ __( 'Effects' ) }
{ __( 'Shadow' ) }
</NavigationButtonAsItem>
) }
{ hasLayoutPanel && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function ScreenEffects( { name, variation = '' } ) {
const hasShadowPanel = useHasShadowControl( name );
return (
<>
<ScreenHeader title={ __( 'Effects' ) } />
<ScreenHeader title={ __( 'Shadow' ) } />
<BlockPreviewPanel name={ name } variation={ variationClassName } />
{ hasShadowPanel && (
<ShadowPanel name={ name } variation={ variation } />
Expand Down

0 comments on commit 1897238

Please sign in to comment.