Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toolbar: move all subcomponents under the same folder #46951

Merged
merged 14 commits into from
Jan 9, 2023
Prev Previous commit
Next Next commit
Move ToolbarItem inside toolbar-item subfolder
  • Loading branch information
ciampo committed Jan 9, 2023
commit 286712f5a45380aa873c5e88dd720d0c915e9d39
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ import { forwardRef, useContext } from '@wordpress/element';
/**
* Internal dependencies
*/
import ToolbarItem from '../../toolbar-item';
import ToolbarItem from '../toolbar-item';
import ToolbarContext from '../toolbar-context';
import DropdownMenu from '../../dropdown-menu';

Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ import { useContext } from '@wordpress/element';
*/
import DropdownMenu from '../../dropdown-menu';
import ToolbarContext from '../toolbar-context';
import ToolbarItem from '../../toolbar-item';
import ToolbarItem from '../toolbar-item';

function ToolbarGroupCollapsed( { controls = [], toggleProps, ...props } ) {
// It'll contain state if `ToolbarGroup` is being used within