Debian Codegraph @

node/@patternfly/react-core/dist/esm/components/NotificationDrawer/NotificationDrawerHeader.d.ts

raw
1 /// <reference types="react" />
2 export interface NotificationDrawerHeaderProps extends React.HTMLProps<HTMLDivElement> {
3 /** Content rendered inside the drawer */
4 children?: React.ReactNode;
5 /** Additional classes for notification drawer header. */
6 className?: string;
7 /** Adds custom accessible text to the notification drawer close button. */
8 closeButtonAriaLabel?: string;
9 /** Notification drawer heading count */
10 count?: number;
11 /** Notification drawer heading custom text which can be used instead of providing count/unreadText */
12 customText?: string;
13 /** Callback for when close button is clicked */
14 onClose?: (event: KeyboardEvent | React.MouseEvent) => void;
15 /** Notification drawer heading title */
16 title?: string;
17 /** Notification drawer heading unread text used in combination with a count */
18 unreadText?: string;
19 }
20 export declare const NotificationDrawerHeader: React.FunctionComponent<NotificationDrawerHeaderProps>;
21 //# sourceMappingURL=NotificationDrawerHeader.d.ts.map