Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
xugao committed Jul 8, 2020
1 parent d46f4c9 commit 2cba581
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 9 deletions.
Expand Up @@ -9586,7 +9586,7 @@ export function updateSV(color: IColor, s: number, v: number): IColor;
export function updateT(color: IColor, t: number): IColor;

// @public
export function useKeytipRef(options: KeytipDataOptions): React.Ref<HTMLElement>;
export function useKeytipRef<TElement extends HTMLElement = HTMLElement>(options: KeytipDataOptions): React.Ref<TElement>;

// @public
export enum ValidationState {
Expand Down
Expand Up @@ -20,9 +20,3 @@ export interface IKeytipDataProps {
}

export type KeytipDataOptions = IKeytipDataProps;

export interface IKeytipData {
ariaDescribedBy: string | undefined;
targetElementAttributes: { [key: string]: string | undefined };
executeElementAttributes: { [key: string]: string | undefined };
}
2 changes: 1 addition & 1 deletion packages/react-next/etc/react-next.api.md
Expand Up @@ -2012,7 +2012,7 @@ export const Toggle: React.FunctionComponent<IToggleProps & React.RefAttributes<
export const ToggleBase: import("@fluentui/react-compose").ComponentWithAs<"div", IToggleProps>;

// @public
export const useLink: (props: ILinkProps) => any;
export const useLink: (props: ILinkProps, forwardedRef: React.Ref<HTMLElement>) => any;

export { useTheme }

Expand Down
1 change: 0 additions & 1 deletion packages/react-next/src/components/Link/useLink.ts
Expand Up @@ -83,7 +83,6 @@ const adjustPropsForRootType = (
componentRef,
// tslint:disable-next-line:deprecation
keytipProps,
keytipData,
...restProps
} = props;

Expand Down

0 comments on commit 2cba581

Please sign in to comment.