| 1 |
/// <reference types="react" /> |
| 2 |
import { WizardStep } from './Wizard'; |
| 3 |
export interface WizardBodyProps { |
| 4 |
/** Anything that can be rendered in the Wizard body */ |
| 5 |
children: any; |
| 6 |
/** Set to true to remove the default body padding */ |
| 7 |
hasNoBodyPadding: boolean; |
| 8 |
/** Adds an accessible name to the wizard body when the body content overflows and renders |
| 9 |
* a scrollbar. |
| 10 |
*/ |
| 11 |
'aria-label'?: string; |
| 12 |
/** Adds an accessible name to the wizard body by passing the the id of one or more elements. |
| 13 |
* The aria-labelledby will only be applied when the body content overflows and renders a scrollbar. |
| 14 |
*/ |
| 15 |
'aria-labelledby': string; |
| 16 |
/** Component used as the primary content container */ |
| 17 |
mainComponent?: React.ElementType; |
| 18 |
/** The currently active WizardStep */ |
| 19 |
activeStep: WizardStep; |
| 20 |
hasDrawer?: boolean; |
| 21 |
/** Flag indicating the wizard drawer is expanded */ |
| 22 |
isDrawerExpanded?: boolean; |
| 23 |
/** Callback function for when the drawer is toggled */ |
| 24 |
onExpandDrawer?: () => void; |
| 25 |
} |
| 26 |
export declare const WizardBody: React.FunctionComponent<WizardBodyProps>; |
| 27 |
//# sourceMappingURL=WizardBody.d.ts.map |