@@ -7,6 +7,7 @@
|
||||
|
||||
import { ApiRef } from '@backstage/core-plugin-api';
|
||||
import { BackstagePlugin } from '@backstage/core-plugin-api';
|
||||
import { BackstageUserIdentity } from '@backstage/core-plugin-api';
|
||||
import { IconComponent } from '@backstage/core-plugin-api';
|
||||
import { ProfileInfo } from '@backstage/core-plugin-api';
|
||||
import { PropsWithChildren } from 'react';
|
||||
@@ -129,9 +130,17 @@ export const UserSettingsThemeToggle: () => JSX.Element;
|
||||
// Warning: (ae-missing-release-tag) "useUserProfile" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
export const useUserProfile: () => {
|
||||
profile: ProfileInfo;
|
||||
displayName: string;
|
||||
loading: boolean;
|
||||
};
|
||||
export const useUserProfile: () =>
|
||||
| {
|
||||
profile: ProfileInfo;
|
||||
displayName: string;
|
||||
backstageIdentity: undefined;
|
||||
loading: boolean;
|
||||
}
|
||||
| {
|
||||
profile: ProfileInfo;
|
||||
backstageIdentity: BackstageUserIdentity;
|
||||
displayName: string;
|
||||
loading: false;
|
||||
};
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user