From 759710b0acd3466d449a62e9093c25111cc9543d Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Fri, 13 Mar 2020 12:27:21 +0100 Subject: [PATCH] Deprecate the BlockNavigationDropdown component --- .../src/components/block-navigation/dropdown.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/block-editor/src/components/block-navigation/dropdown.js b/packages/block-editor/src/components/block-navigation/dropdown.js index 4d0aa9b405b59b..ff5b9dacc07bf7 100644 --- a/packages/block-editor/src/components/block-navigation/dropdown.js +++ b/packages/block-editor/src/components/block-navigation/dropdown.js @@ -1,4 +1,12 @@ +/** + * WordPress dependencies + */ +import deprecated from '@wordpress/deprecated'; + function BlockNavigationDropdown() { + deprecated( 'BlockNavigationDropdown component', { + hint: 'This component is now include in the TableOfContents component.', + } ); return null; }