@patternfly/react-core
Version:
This library provides a set of common React components for use with the PatternFly reference implementation.
14 lines • 649 B
TypeScript
/// <reference types="react" />
import { OUIAProps } from '../../helpers';
export interface ModalBoxCloseButtonProps extends OUIAProps {
/** Additional classes added to the close button. */
className?: string;
/** A callback for when the close button is clicked. */
onClose?: (event: KeyboardEvent | React.MouseEvent) => void;
/** Accessible descriptor of the close button. */
'aria-label'?: string;
/** Value to set the data-ouia-component-id.*/
ouiaId?: number | string;
}
export declare const ModalBoxCloseButton: React.FunctionComponent<ModalBoxCloseButtonProps>;
//# sourceMappingURL=ModalBoxCloseButton.d.ts.map