prettier and API reports
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -1427,16 +1427,36 @@ export const googleAuthApiRef: ApiRef<
|
||||
// @public
|
||||
export const HeaderActionBlueprint: ExtensionBlueprint_2<{
|
||||
kind: 'header-action';
|
||||
params: {
|
||||
params: (params: {
|
||||
loader: () => Promise<JSX.Element>;
|
||||
};
|
||||
output: ExtensionDataRef_2<JSX_2, 'core.reactElement', {}>;
|
||||
}) => ExtensionBlueprintParams_2<{
|
||||
loader: () => Promise<JSX.Element>;
|
||||
}>;
|
||||
output: ExtensionDataRef_2<
|
||||
() => Promise<JSX.Element>,
|
||||
'core.header-action.loader',
|
||||
{}
|
||||
>;
|
||||
inputs: {};
|
||||
config: {};
|
||||
configInput: {};
|
||||
dataRefs: never;
|
||||
dataRefs: {
|
||||
action: ConfigurableExtensionDataRef_2<
|
||||
() => Promise<JSX.Element>,
|
||||
'core.header-action.loader',
|
||||
{}
|
||||
>;
|
||||
};
|
||||
}>;
|
||||
|
||||
// @public
|
||||
export type HeaderActionsApi = {
|
||||
getHeaderActions(pluginId: string): ReactNode[];
|
||||
};
|
||||
|
||||
// @public
|
||||
export const headerActionsApiRef: ApiRef_2<HeaderActionsApi>;
|
||||
|
||||
// @public @deprecated
|
||||
export type IconComponent = ComponentType<{
|
||||
fontSize?: 'medium' | 'large' | 'small' | 'inherit';
|
||||
@@ -1809,6 +1829,8 @@ export interface PageLayoutProps {
|
||||
// (undocumented)
|
||||
children?: ReactNode;
|
||||
// (undocumented)
|
||||
headerActions?: ReactNode;
|
||||
// (undocumented)
|
||||
icon?: IconElement;
|
||||
// (undocumented)
|
||||
tabs?: PageTab[];
|
||||
|
||||
@@ -26,7 +26,7 @@ import { ExtensionBoundary } from '../components';
|
||||
* @example
|
||||
* ```tsx
|
||||
* const overviewRouteRef = createRouteRef();
|
||||
*
|
||||
*
|
||||
* const mySubPage = SubPageBlueprint.make({
|
||||
* attachTo: { id: 'page:my-plugin', input: 'pages' },
|
||||
* name: 'overview',
|
||||
|
||||
@@ -25,8 +25,4 @@ export {
|
||||
} from './createSwappableComponent';
|
||||
export { useAppNode } from './AppNodeProvider';
|
||||
export * from './DefaultSwappableComponents';
|
||||
export {
|
||||
PageLayout,
|
||||
type PageLayoutProps,
|
||||
type PageTab,
|
||||
} from './PageLayout';
|
||||
export { PageLayout, type PageLayoutProps, type PageTab } from './PageLayout';
|
||||
|
||||
Reference in New Issue
Block a user