File: NotificationDrawerHeader.d.ts

package info (click to toggle)
cockpit 354-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 308,956 kB
  • sloc: javascript: 775,606; python: 40,351; ansic: 35,655; cpp: 11,117; sh: 3,511; makefile: 580; xml: 261
file content (21 lines) | stat: -rw-r--r-- 1,055 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/// <reference types="react" />
export interface NotificationDrawerHeaderProps extends React.HTMLProps<HTMLDivElement> {
    /**  Content rendered inside the drawer */
    children?: React.ReactNode;
    /**  Additional classes for notification drawer header. */
    className?: string;
    /** Adds custom accessible text to the notification drawer close button. */
    closeButtonAriaLabel?: string;
    /**  Notification drawer heading count */
    count?: number;
    /**  Notification drawer heading custom text which can be used instead of providing count/unreadText */
    customText?: string;
    /**  Callback for when close button is clicked */
    onClose?: (event: KeyboardEvent | React.MouseEvent) => void;
    /**  Notification drawer heading title */
    title?: string;
    /**  Notification drawer heading unread text used in combination with a count */
    unreadText?: string;
}
export declare const NotificationDrawerHeader: React.FunctionComponent<NotificationDrawerHeaderProps>;
//# sourceMappingURL=NotificationDrawerHeader.d.ts.map