Skip to content

Commit

Permalink
Export getMenuStyles from ContextualMenu (#14963)
Browse files Browse the repository at this point in the history
* Add getMenuItemStyles to ContextualMenu exports

* Change files

* api update

Co-authored-by: Anna Pablo <[email protected]>
  • Loading branch information
apneer and anpablo authored Sep 10, 2020
1 parent a857ac9 commit 770f5bf
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "minor",
"comment": "Export getMenuItemStyles from ContextualMenu",
"packageName": "office-ui-fabric-react",
"email": "[email protected]",
"dependentChangeType": "patch",
"date": "2020-09-09T23:05:30.683Z"
}
Original file line number Diff line number Diff line change
Expand Up @@ -1320,6 +1320,9 @@ export const getMeasurementCache: () => {
addMeasurementToCache: (data: any, measurement: number) => void;
};

// @public (undocumented)
export const getMenuItemStyles: (theme: ITheme) => IMenuItemStyles;

// @public
export const getNextResizeGroupStateProvider: (measurementCache?: {
getCachedMeasurement: (data: any) => number | undefined;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export * from './ContextualMenu.types';
export * from './ContextualMenuItem';
export * from './ContextualMenuItem.base';
export * from './ContextualMenuItem.types';
export { getMenuItemStyles } from './ContextualMenu.cnstyles';

0 comments on commit 770f5bf

Please sign in to comment.