Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/components/src/toolbar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function Toolbar( { controls = [], children, className, isCollapsed, icon, label
}

return (
<ToolbarContainer className={ classnames( 'components-toolbar', className ) }>
<ToolbarContainer className={ className }>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @johngodley, in this file, we are in the components/toolbar component so I think it makes sense to add the class here like we do for the DropdownMenu component, as an alternative I think we should remove the class addition from the ToolbarContainer component.

{ flatMap( controlSets, ( controlSet, indexOfSet ) => (
controlSet.map( ( control, indexOfControl ) => (
<ToolbarButton
Expand Down