'use client'; import * as React from 'react'; import { useMenuGroup_unstable } from './useMenuGroup'; import { renderMenuGroup_unstable } from './renderMenuGroup'; import { useMenuGroupContextValues_unstable } from './useMenuGroupContextValues'; import { useMenuGroupStyles_unstable } from './useMenuGroupStyles.styles'; import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts'; /** * Define a styled MenuGroup, using the `useMenuGroup_unstable` hook. */ export const MenuGroup = /*#__PURE__*/ React.forwardRef((props, ref)=>{ const state = useMenuGroup_unstable(props, ref); const contextValues = useMenuGroupContextValues_unstable(state); useMenuGroupStyles_unstable(state); useCustomStyleHook_unstable('useMenuGroupStyles_unstable')(state); return renderMenuGroup_unstable(state, contextValues); }); MenuGroup.displayName = 'MenuGroup';