From 8085bfb531a3468a92845fae342b4ee1451f0f37 Mon Sep 17 00:00:00 2001 From: Lingfan Gao Date: Mon, 9 Jan 2023 19:55:03 +0100 Subject: [PATCH] fix: Revert MenuItem root slot to support only div Follow up of #26257 --- .../react-menu/src/components/MenuItem/MenuItem.types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-components/react-menu/src/components/MenuItem/MenuItem.types.ts b/packages/react-components/react-menu/src/components/MenuItem/MenuItem.types.ts index 1be90f0200037f..19855192b1c596 100644 --- a/packages/react-components/react-menu/src/components/MenuItem/MenuItem.types.ts +++ b/packages/react-components/react-menu/src/components/MenuItem/MenuItem.types.ts @@ -1,7 +1,7 @@ import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities'; export type MenuItemSlots = { - root: Slot<'div', 'button'>; + root: Slot<'div'>; /** * Icon slot rendered before children content