chore: fixing api-docs generation

Co-authored-by: Johan Haals <johan.haals@gmail.com>

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2021-06-11 13:16:20 +02:00
parent 8ddd77544f
commit 9eb3729706
3 changed files with 13 additions and 2 deletions
+9
View File
@@ -234,6 +234,15 @@ export type ErrorBoundaryFallbackProps = {
resetError: () => void;
};
// @public (undocumented)
export const FeatureFlagged: ({ children, flag }: FeatureFlaggedProps) => JSX.Element | null;
// @public (undocumented)
export type FeatureFlaggedProps = {
flag: string;
children: JSX.Element | null;
};
// @public (undocumented)
export const FlatRoutes: (props: FlatRoutesProps) => JSX.Element | null;
+4
View File
@@ -8,6 +8,7 @@ import { BackstageTheme } from '@backstage/theme';
import { ComponentType } from 'react';
import { Config } from '@backstage/config';
import { default as React_2 } from 'react';
import { ReactElement } from 'react';
import { ReactNode } from 'react';
import { SvgIconProps } from '@material-ui/core';
@@ -514,6 +515,9 @@ export function useApiHolder(): ApiHolder;
// @public (undocumented)
export const useApp: () => AppContext;
// @public (undocumented)
export function useElementFilter<T>(node: ReactNode, filterFn: (arg: ElementCollection) => T, dependencies?: any[]): T;
// @public (undocumented)
export type UserFlags = {};
@@ -50,8 +50,6 @@ export function attachComponentData<P>(
}
container.map.set(type, data);
return component;
}
export function getComponentData<T>(