diff --git a/change/office-ui-fabric-react-2020-09-09-16-05-30-anpablo-fluentuxexport.json b/change/office-ui-fabric-react-2020-09-09-16-05-30-anpablo-fluentuxexport.json new file mode 100644 index 00000000000000..5f44a476de1451 --- /dev/null +++ b/change/office-ui-fabric-react-2020-09-09-16-05-30-anpablo-fluentuxexport.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Export getMenuItemStyles from ContextualMenu", + "packageName": "office-ui-fabric-react", + "email": "anpablo@microsoft.com", + "dependentChangeType": "patch", + "date": "2020-09-09T23:05:30.683Z" +} diff --git a/packages/office-ui-fabric-react/etc/office-ui-fabric-react.api.md b/packages/office-ui-fabric-react/etc/office-ui-fabric-react.api.md index 8c1a3ffa801a7f..7414daefa299da 100644 --- a/packages/office-ui-fabric-react/etc/office-ui-fabric-react.api.md +++ b/packages/office-ui-fabric-react/etc/office-ui-fabric-react.api.md @@ -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; diff --git a/packages/office-ui-fabric-react/src/components/ContextualMenu/index.ts b/packages/office-ui-fabric-react/src/components/ContextualMenu/index.ts index 1874e3d39d1c98..4c014c60c01ce5 100644 --- a/packages/office-ui-fabric-react/src/components/ContextualMenu/index.ts +++ b/packages/office-ui-fabric-react/src/components/ContextualMenu/index.ts @@ -4,3 +4,4 @@ export * from './ContextualMenu.types'; export * from './ContextualMenuItem'; export * from './ContextualMenuItem.base'; export * from './ContextualMenuItem.types'; +export { getMenuItemStyles } from './ContextualMenu.cnstyles';