Skip to content

Commit

Permalink
Exports MenuItemRole From MenuItem (#27941)
Browse files Browse the repository at this point in the history
* Exports MenuItemRole so that the Fluent web component Angular and React wrappers can utilize the roles.

* Runs yarn change

* Update change/@fluentui-web-components-fe7f57a9-65bb-4816-9f01-0aded96e8ce9.json

Co-authored-by: Chris Holt <[email protected]>

---------

Co-authored-by: Chris Holt <[email protected]>
  • Loading branch information
2 people authored and radium-v committed May 3, 2024
1 parent d30654d commit 6075099
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "feat(menu-item): export MenuItemRole constants",
"packageName": "@fluentui/web-components",
"email": "[email protected]",
"dependentChangeType": "patch"
}
4 changes: 3 additions & 1 deletion packages/web-components/src/menu-item/menu-item.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { FASTMenuItem } from '@microsoft/fast-foundation';
import { FASTMenuItem, MenuItemRole } from '@microsoft/fast-foundation';

export type MenuItemColumnCount = 0 | 1 | 2;

export { MenuItemRole };

/**
* The base class used for constructing a fluent-menu-item custom element
* @public
Expand Down

0 comments on commit 6075099

Please sign in to comment.