From 912389b7cd944c51a88dd3942fb27bfb14025ae6 Mon Sep 17 00:00:00 2001 From: Aaron Robertshaw <60436221+aaronrobertshaw@users.noreply.github.com> Date: Fri, 12 Nov 2021 13:02:13 +1000 Subject: [PATCH] Allow additional props on ToolsPanel --- .../components/src/tools-panel/tools-panel/component.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/components/src/tools-panel/tools-panel/component.tsx b/packages/components/src/tools-panel/tools-panel/component.tsx index 5492e193417a05..f7f16240cea184 100644 --- a/packages/components/src/tools-panel/tools-panel/component.tsx +++ b/packages/components/src/tools-panel/tools-panel/component.tsx @@ -24,14 +24,11 @@ const ToolsPanel = ( panelContext, resetAllItems, toggleItem, - className, + ...toolsPanelProps } = useToolsPanel( props ); - // Props are not directly passed through to avoid exposing Grid props - // until agreement has been reached on how ToolsPanel layout should be - // handled. return ( - +