| 1 |
/// <reference types="react" /> |
| 2 |
export interface WizardHeaderProps extends React.HTMLProps<HTMLDivElement> { |
| 3 |
/** Callback function called when the X (Close) button is clicked */ |
| 4 |
onClose?: (event: React.MouseEvent<HTMLButtonElement>) => void; |
| 5 |
/** Title of the wizard */ |
| 6 |
title: string; |
| 7 |
/** Description of the wizard */ |
| 8 |
description?: React.ReactNode; |
| 9 |
/** Component type of the description */ |
| 10 |
descriptionComponent?: 'div' | 'p'; |
| 11 |
/** Flag indicating whether the close button should be in the header */ |
| 12 |
isCloseHidden?: boolean; |
| 13 |
/** Aria-label applied to the X (Close) button */ |
| 14 |
closeButtonAriaLabel?: string; |
| 15 |
/** id for the title */ |
| 16 |
titleId?: string; |
| 17 |
/** id for the description */ |
| 18 |
descriptionId?: string; |
| 19 |
/** Additional classes spread to the wizard header */ |
| 20 |
className?: string; |
| 21 |
} |
| 22 |
export declare const WizardHeader: React.FunctionComponent<WizardHeaderProps>; |
| 23 |
//# sourceMappingURL=WizardHeader.d.ts.map |