Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exports MenuItemRole From MenuItem #27941

Merged
merged 3 commits into from
May 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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": "harankin@microsoft.com",
"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