@@ -6,10 +6,18 @@
|
||||
/// <reference types="react" />
|
||||
|
||||
import { BackstagePlugin } from '@backstage/core-plugin-api';
|
||||
import { default as React_2 } from 'react';
|
||||
import { RouteRef } from '@backstage/core-plugin-api';
|
||||
|
||||
// @public (undocumented)
|
||||
export type StackstormHomeProps = {
|
||||
title?: string;
|
||||
subtitle?: string;
|
||||
headerButtons?: React_2.ReactNode[];
|
||||
};
|
||||
|
||||
// @public
|
||||
export const StackstormPage: () => JSX.Element;
|
||||
export const StackstormPage: (props: StackstormHomeProps) => JSX.Element;
|
||||
|
||||
// @public
|
||||
export const stackstormPlugin: BackstagePlugin<
|
||||
|
||||
@@ -27,11 +27,15 @@ import { ExecutionsTable } from '../ExecutionsTable';
|
||||
import { PacksTable } from '../PacksTable/PacksTable';
|
||||
import { ActionsList } from '../ActionsList';
|
||||
|
||||
/**
|
||||
* @public
|
||||
*/
|
||||
export type StackstormHomeProps = {
|
||||
title?: string;
|
||||
subtitle?: string;
|
||||
headerButtons?: React.ReactNode[];
|
||||
};
|
||||
|
||||
export const StackstormHome = (props: StackstormHomeProps) => (
|
||||
<Page themeId="tool">
|
||||
<Header
|
||||
|
||||
@@ -13,4 +13,4 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
export { StackstormHome } from './StackstormHome';
|
||||
export { StackstormHome, type StackstormHomeProps } from './StackstormHome';
|
||||
|
||||
@@ -21,3 +21,4 @@
|
||||
*/
|
||||
|
||||
export { stackstormPlugin, StackstormPage } from './plugin';
|
||||
export { type StackstormHomeProps } from './components/StackstormHome';
|
||||
|
||||
Reference in New Issue
Block a user