@patternfly/react-core
Version:
This library provides a set of common React components for use with the PatternFly reference implementation.
28 lines • 1.03 kB
TypeScript
import * as React from 'react';
import { WizardStep } from './Wizard';
export interface WizardToggleProps {
/** Function that returns the WizardNav component */
nav: (isWizardNavOpen: boolean) => React.ReactElement;
/** The wizard steps */
steps: WizardStep[];
/** The currently active WizardStep */
activeStep: WizardStep;
/** The WizardFooter */
children: React.ReactNode;
/** Set to true to remove body padding */
hasNoBodyPadding: boolean;
/** If the nav is open */
isNavOpen: boolean;
/** Callback function for when the nav is toggled */
onNavToggle: (isOpen: boolean) => void;
/** The button's aria-label */
'aria-label'?: string;
/** Sets aria-labelledby on the main element */
mainAriaLabelledBy?: string;
/** The main's aria-label */
mainAriaLabel?: string;
/** If the wizard is in-page */
isInPage?: boolean;
}
export declare const WizardToggle: React.FunctionComponent<WizardToggleProps>;
//# sourceMappingURL=WizardToggle.d.ts.map