@octopusdeploy/design-system-components
Version:
The design systems component library.
19 lines (18 loc) • 743 B
TypeScript
import type React from "react";
import type { DialogHeaderAction } from "./DialogHeader";
import type { DialogWidth } from "./dialogBreakpoints.styles";
export interface DialogMainPanelProps {
title: string;
width: DialogWidth;
hasSidePanel?: boolean;
headerAction?: DialogHeaderAction;
progressTracker?: React.ReactNode;
errorPanel?: React.ReactNode;
footer: React.ReactNode;
children: React.ReactNode;
isLoading?: boolean;
}
/**
* DialogMainPanel – the primary content section of a dialog.
*/
export declare function DialogMainPanel({ width, hasSidePanel, title, headerAction, progressTracker, errorPanel, footer, children, isLoading }: DialogMainPanelProps): import("react/jsx-runtime").JSX.Element;