diff --git a/packages/react-core/src/components/ToggleGroup/ToggleGroupItem.tsx b/packages/react-core/src/components/ToggleGroup/ToggleGroupItem.tsx index b9d315ccdeb..2e17f6e3c8f 100644 --- a/packages/react-core/src/components/ToggleGroup/ToggleGroupItem.tsx +++ b/packages/react-core/src/components/ToggleGroup/ToggleGroupItem.tsx @@ -45,6 +45,8 @@ export const ToggleGroupItem: React.FunctionComponent = ({ console.warn('An accessible aria-label is required when using the toggle group item icon variant.'); } + const toggleGroupIcon = {icon}; + return (
);