Debian Codegraph @

node/@patternfly/react-core/dist/js/components/Alert/AlertGroup.d.ts

raw
1 /// <reference types="react" />
2 export interface AlertGroupProps extends Omit<React.HTMLProps<HTMLUListElement>, 'className'> {
3 /** Additional classes added to the AlertGroup */
4 className?: string;
5 /** Alerts to be rendered in the AlertGroup */
6 children?: React.ReactNode;
7 /** @beta Flag to indicate whether Alerts are animated upon rendering and being dismissed. This is intended
8 * to remain false for testing purposes only.
9 */
10 hasAnimations?: boolean;
11 /** Toast notifications are positioned at the top right corner of the viewport */
12 isToast?: boolean;
13 /** Turns the container into a live region so that changes to content within the AlertGroup, such as appending an Alert, are reliably announced to assistive technology. */
14 isLiveRegion?: boolean;
15 /** Determine where the alert is appended to */
16 appendTo?: HTMLElement | (() => HTMLElement);
17 /** Function to call if user clicks on overflow message */
18 onOverflowClick?: () => void;
19 /** Custom text to show for the overflow message */
20 overflowMessage?: string;
21 /** Adds an accessible label to the alert group. */
22 'aria-label'?: string;
23 }
24 export declare const AlertGroup: React.FunctionComponent<AlertGroupProps>;
25 //# sourceMappingURL=AlertGroup.d.ts.map