| 1 |
/// <reference types="react" /> |
| 2 |
export declare const isVariantIcon: (icon: any) => icon is string; |
| 3 |
export interface ModalBoxTitleProps { |
| 4 |
/** Additional classes added to the modal box title. */ |
| 5 |
className?: string; |
| 6 |
/** Id of the modal box title. */ |
| 7 |
id?: string; |
| 8 |
/** Content rendered inside the modal box title. */ |
| 9 |
title: React.ReactNode; |
| 10 |
/** Optional alert icon (or other) to show before the title. When the predefined alert types |
| 11 |
* are used the default styling will be automatically applied. */ |
| 12 |
titleIconVariant?: 'success' | 'danger' | 'warning' | 'info' | 'custom' | React.ComponentType<any>; |
| 13 |
/** Optional title label text for screen readers. */ |
| 14 |
titleScreenReaderText?: string; |
| 15 |
} |
| 16 |
export declare const ModalBoxTitle: React.FunctionComponent<ModalBoxTitleProps>; |
| 17 |
//# sourceMappingURL=ModalBoxTitle.d.ts.map |