@ansible/ansible-ui-framework
Version:
A framework for building applications using PatternFly.
17 lines (16 loc) • 607 B
TypeScript
import '@patternfly/patternfly/components/Wizard/wizard.css';
import { ErrorAdapter } from '../PageForm/typesErrorAdapter';
import type { PageWizardStep } from './types';
export declare function PageWizard<DataT extends NonNullable<object>>(props: {
steps: PageWizardStep[];
stepDefaults?: {
[stepID: string]: Partial<DataT>;
};
onCancel?: () => void;
onSubmit: (wizardData: DataT) => Promise<void>;
errorAdapter?: ErrorAdapter;
disableGrid?: boolean;
title?: string;
isVertical?: boolean;
singleColumn?: boolean;
}): import("react/jsx-runtime").JSX.Element;