Initial commit

This commit is contained in:
2025-03-07 19:22:02 +01:00
commit 4a98255d83
55743 changed files with 5280367 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
import * as React from 'react';
import { useMenuItem_unstable } from './useMenuItem';
import { renderMenuItem_unstable } from './renderMenuItem';
import { useMenuItemStyles_unstable } from './useMenuItemStyles.styles';
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
/**
* Define a styled MenuItem, using the `useMenuItem_unstable` and `useMenuItemStyles_unstable` hook.
*/ export const MenuItem = /*#__PURE__*/ React.forwardRef((props, ref)=>{
const state = useMenuItem_unstable(props, ref);
useMenuItemStyles_unstable(state);
useCustomStyleHook_unstable('useMenuItemStyles_unstable')(state);
return renderMenuItem_unstable(state);
});
MenuItem.displayName = 'MenuItem';