| 1 |
/// <reference types="react" /> |
| 2 |
import { OUIAProps } from '../../helpers'; |
| 3 |
export interface ModalBoxCloseButtonProps extends OUIAProps { |
| 4 |
/** Additional classes added to the close button. */ |
| 5 |
className?: string; |
| 6 |
/** A callback for when the close button is clicked. */ |
| 7 |
onClose?: (event: KeyboardEvent | React.MouseEvent) => void; |
| 8 |
/** Accessible descriptor of the close button. */ |
| 9 |
'aria-label'?: string; |
| 10 |
/** Value to set the data-ouia-component-id.*/ |
| 11 |
ouiaId?: number | string; |
| 12 |
} |
| 13 |
export declare const ModalBoxCloseButton: React.FunctionComponent<ModalBoxCloseButtonProps>; |
| 14 |
//# sourceMappingURL=ModalBoxCloseButton.d.ts.map |