Files
powerpoint-toolbox/node_modules/@fluentui/react-menu/lib/components/MenuItemLink/MenuItemLink.js
T
2025-03-07 19:22:02 +01:00

15 lines
698 B
JavaScript

import * as React from 'react';
import { useMenuItemLink_unstable } from './useMenuItemLink';
import { renderMenuItemLink_unstable } from './renderMenuItemLink';
import { useMenuItemLinkStyles_unstable } from './useMenuItemLinkStyles.styles';
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
/**
* MenuItemLink component
*/ export const MenuItemLink = /*#__PURE__*/ React.forwardRef((props, ref)=>{
const state = useMenuItemLink_unstable(props, ref);
useMenuItemLinkStyles_unstable(state);
useCustomStyleHook_unstable('useMenuItemLinkStyles_unstable')(state);
return renderMenuItemLink_unstable(state);
});
MenuItemLink.displayName = 'MenuItemLink';