Skip to content

Commit

Permalink
Update API signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasMichon committed Dec 8, 2021
1 parent fe1ab98 commit 5e88ce1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions packages/react/etc/react.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ import { styled } from '@fluentui/utilities';
import { StyleFunction } from '@fluentui/utilities';
import { Stylesheet } from '@fluentui/style-utilities';
import { tableProperties } from '@fluentui/utilities';
import type { Target } from '@fluentui/react-hooks';
import { Target } from '@fluentui/react-hooks';
import { tdProperties } from '@fluentui/utilities';
import { textAreaProperties } from '@fluentui/utilities';
import { Theme } from '@fluentui/theme';
Expand Down Expand Up @@ -1813,7 +1813,9 @@ export const getSplitButtonClassNames: (styles: IButtonStyles, disabled: boolean
export { getStartDateOfWeek }

// @public (undocumented)
export function getSubmenuItems(item: IContextualMenuItem): IContextualMenuItem[] | undefined;
export function getSubmenuItems(item: IContextualMenuItem, options?: {
target?: Target;
}): IContextualMenuItem[] | undefined;

export { getTheme }

Expand Down Expand Up @@ -3915,6 +3917,8 @@ export interface IContextualMenuItem {
// @deprecated (undocumented)
inactive?: boolean;
itemProps?: Partial<IContextualMenuItemProps>;
// @deprecated (undocumented)
items?: IContextualMenuItem[];
// (undocumented)
itemType?: ContextualMenuItemType;
key: string;
Expand All @@ -3926,6 +3930,7 @@ export interface IContextualMenuItem {
onRender?: (item: any, dismissMenu: (ev?: any, dismissAll?: boolean) => void) => React_2.ReactNode;
onRenderContent?: (props: IContextualMenuItemProps, defaultRenders: IContextualMenuItemRenderFunctions) => React_2.ReactNode;
onRenderIcon?: IRenderFunction<IContextualMenuItemProps>;
preferMenuTargetAsEventTarget?: boolean;
primaryDisabled?: boolean;
rel?: string;
role?: string;
Expand Down

0 comments on commit 5e88ce1

Please sign in to comment.