From ca3e9c7c7c3f836bc99c185ce09fe72c0a53742e Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Sun, 11 Apr 2021 14:29:53 +0200 Subject: [PATCH] docs: update import statement of ImageSizeControl component ImageSizeControl does not live in `@wordpress/components` but in `@wordpress/block-editor`. The `__experimental` prefix is also needed. See #17148#issuecomment-569528836 --- .../block-editor/src/components/image-size-control/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-editor/src/components/image-size-control/README.md b/packages/block-editor/src/components/image-size-control/README.md index 21eb3cfa1823fb..846e455db9123c 100644 --- a/packages/block-editor/src/components/image-size-control/README.md +++ b/packages/block-editor/src/components/image-size-control/README.md @@ -7,7 +7,7 @@ Allow users to control the width & height of an image. Render a ImageSizeControl. ```jsx -import { ImageSizeControl } from '@wordpress/components'; +import { __experimentalImageSizeControl as ImageSizeControl } from '@wordpress/block-editor'; import { withState } from '@wordpress/compose'; const MyImageSizeControl = withState( {