@@ -10,11 +10,7 @@ import { JSONObject } from '@apollo/explorer/src/helpers/types';
|
||||
import { RouteRef } from '@backstage/core-plugin-api';
|
||||
|
||||
// @public
|
||||
export const ApolloExplorerPage: ({
|
||||
title,
|
||||
subtitle,
|
||||
endpoints,
|
||||
}: {
|
||||
export const ApolloExplorerPage: (props: {
|
||||
title?: string | undefined;
|
||||
subtitle?: string | undefined;
|
||||
endpoints: {
|
||||
|
||||
@@ -41,7 +41,8 @@ type Props = {
|
||||
endpoints: EndpointProps[];
|
||||
};
|
||||
|
||||
export const ApolloExplorerPage = ({ title, subtitle, endpoints }: Props) => {
|
||||
export const ApolloExplorerPage = (props: Props) => {
|
||||
const { title, subtitle, endpoints } = props;
|
||||
return (
|
||||
<Page themeId="tool">
|
||||
<Header title={title ?? 'Apollo Explorer 👩🚀'} subtitle={subtitle ?? ''} />
|
||||
|
||||
Reference in New Issue
Block a user