api-reports and prettier

Co-authored-by: Camila Belo <camilaibs@gmail.com>
Co-authored-by: Eric Peterson <ericpeterson@spotify.com>
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
This commit is contained in:
Emma Indal
2022-04-01 15:19:51 +02:00
parent 377309a98b
commit a122923bd0
4 changed files with 16 additions and 13 deletions
+4 -1
View File
@@ -174,6 +174,9 @@ export interface PanelConfig {
// @public
export type PanelType = 'DocsCardGrid' | 'DocsTable';
// @public @deprecated
export const Reader: (props: TechDocsReaderPageContentProps) => JSX.Element;
// @public
export type ReaderState = {
state: ContentStateTypes;
@@ -327,7 +330,7 @@ export type TechDocsReaderPageContentProps = {
// @public
export const TechDocsReaderPageHeader: (
_props: TechDocsReaderPageHeaderProps,
props: TechDocsReaderPageHeaderProps,
) => JSX.Element;
// @public @deprecated
@@ -83,11 +83,11 @@ export type TechDocsReaderPageProps = {
*/
export const TechDocsReaderPage = ({
entityRef,
children
children,
}: TechDocsReaderPageProps) => {
const { kind, name, namespace } = useParams();
const outlet = useOutlet()
const outlet = useOutlet();
const entityName = entityRef ?? { kind, name, namespace };
if (!children) {