UNPKG

1.02 kBTypeScriptView Raw
1import * as React from 'react';
2export 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?: () => 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}
20export declare const NotificationDrawerHeader: React.FunctionComponent<NotificationDrawerHeaderProps>;
21//# sourceMappingURL=NotificationDrawerHeader.d.ts.map
\No newline at end of file