Updated api-report.md

Signed-off-by: Nikita Karpukhin <nikita.karpukhin@scout24.com>
This commit is contained in:
Nikita Karpukhin
2022-10-31 18:13:22 +01:00
parent 8bc6368734
commit 5d7b14027f
2 changed files with 29 additions and 0 deletions
+28
View File
@@ -18,10 +18,12 @@ import { Observable } from '@backstage/types';
import { ProfileInfo } from '@backstage/core-plugin-api';
import { ProfileInfoApi } from '@backstage/core-plugin-api';
import { PropsWithChildren } from 'react';
import { default as React_2 } from 'react';
import { RouteRef } from '@backstage/core-plugin-api';
import { SessionApi } from '@backstage/core-plugin-api';
import { StorageApi } from '@backstage/core-plugin-api';
import { StorageValueSnapshot } from '@backstage/core-plugin-api';
import { TabProps } from '@material-ui/core';
// @public (undocumented)
export const DefaultProviderSettings: (props: {
@@ -42,6 +44,32 @@ export const Router: (props: { providerSettings?: JSX.Element }) => JSX.Element;
// @public (undocumented)
export const Settings: (props: { icon?: IconComponent }) => JSX.Element;
// @public (undocumented)
export const SettingsLayout: {
(props: SettingsLayoutProps): JSX.Element;
Route: (props: SubRoute) => null;
};
// @public (undocumented)
export type SettingsLayoutProps = {
title?: string;
subtitle?: string;
children?: React_2.ReactNode;
};
// @public (undocumented)
export type SubRoute = {
path: string;
title: string;
children: JSX.Element;
tabProps?: TabProps<
React_2.ElementType,
{
component?: React_2.ElementType;
}
>;
};
// @public (undocumented)
export const USER_SETTINGS_TAB_KEY = 'user-settings.tab';
@@ -22,6 +22,7 @@ import {
UserSettingsTabProps,
} from '../UserSettingsTab';
/** @public */
export const SettingsPage = (props: { providerSettings?: JSX.Element }) => {
const { providerSettings } = props;
const outlet = useOutlet();