Skip to content

Commit

Permalink
Block Editor: Undeprecate the '__experimentalImageSizeControl' component
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Nov 22, 2023
1 parent ee6acea commit eaa887a
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
__experimentalNumberControl as NumberControl,
__experimentalHStack as HStack,
} from '@wordpress/components';
import deprecated from '@wordpress/deprecated';
import { __ } from '@wordpress/i18n';

/**
Expand All @@ -31,11 +30,6 @@ export default function ImageSizeControl( {
onChange,
onChangeImage = noop,
} ) {
deprecated( 'wp.blockEditor.__experimentalImageSizeControl', {
since: '6.3',
alternative:
'wp.blockEditor.privateApis.DimensionsTool and wp.blockEditor.privateApis.ResolutionTool',
} );
const { currentHeight, currentWidth, updateDimension, updateDimensions } =
useDimensionHandler( height, width, imageHeight, imageWidth, onChange );

Expand Down

0 comments on commit eaa887a

Please sign in to comment.