| 1 |
/// <reference types="react" /> |
| 2 |
/** |
| 3 |
* Used as a wrapper for WizardStep content, where the wrapping element is customizable. |
| 4 |
*/ |
| 5 |
export interface WizardBodyProps extends React.HTMLProps<HTMLElement> { |
| 6 |
/** Anything that can be rendered in the Wizard body */ |
| 7 |
children: React.ReactNode; |
| 8 |
/** Additional classes spread to the wizard body */ |
| 9 |
className?: string; |
| 10 |
/** Flag to remove the default body padding */ |
| 11 |
hasNoPadding?: boolean; |
| 12 |
/** Adds an accessible name to the wrapper element when the content overflows and renders |
| 13 |
* a scrollbar. |
| 14 |
*/ |
| 15 |
'aria-label'?: string; |
| 16 |
/** Adds an accessible name to the wrapper element by passing the the id of one or more elements. |
| 17 |
* The aria-labelledby will only be applied when the content overflows and renders a scrollbar. |
| 18 |
*/ |
| 19 |
'aria-labelledby'?: string; |
| 20 |
/** Component used as the wrapping content container */ |
| 21 |
component?: React.ElementType; |
| 22 |
} |
| 23 |
export declare const WizardBody: { |
| 24 |
({ children, className, hasNoPadding, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, component, ...props }: WizardBodyProps): import("react/jsx-runtime").JSX.Element; |
| 25 |
displayName: string; |
| 26 |
}; |
| 27 |
//# sourceMappingURL=WizardBody.d.ts.map |