Debian Codegraph @

node/@patternfly/react-core/dist/esm/components/Alert/AlertActionCloseButton.d.ts

raw
1 /// <reference types="react" />
2 import { ButtonProps } from '../Button';
3 /** Renders a close button for a dismissable alert when this sub-component is passed into
4 * the alert's actionClose property.
5 */
6 export interface AlertActionCloseButtonProps extends ButtonProps {
7 /** Accessible label for the close button */
8 'aria-label'?: string;
9 /** Additional classes added to the alert action close button. */
10 className?: string;
11 /** A callback for when the close button is clicked. */
12 onClose?: () => void;
13 /** Variant Label for the close button. */
14 variantLabel?: string;
15 }
16 export declare const AlertActionCloseButton: React.FunctionComponent<AlertActionCloseButtonProps>;
17 //# sourceMappingURL=AlertActionCloseButton.d.ts.map