UNPKG

906 BTypeScriptView Raw
1import * as React from 'react';
2export interface NotificationDrawerListItemProps extends React.HTMLProps<HTMLLIElement> {
3 /** Content rendered inside the list item */
4 children?: React.ReactNode;
5 /** Additional classes added to the list item */
6 className?: string;
7 /** Modifies the list item to include hover styles on :hover */
8 isHoverable?: boolean;
9 /** Adds styling to the list item to indicate it has been read */
10 isRead?: boolean;
11 /** Callback for when a list item is clicked */
12 onClick?: (event: any) => void;
13 /** Tab index for the list item */
14 tabIndex?: number;
15 /** Variant indicates the severity level */
16 variant?: 'default' | 'success' | 'danger' | 'warning' | 'info';
17}
18export declare const NotificationDrawerListItem: React.FunctionComponent<NotificationDrawerListItemProps>;
19//# sourceMappingURL=NotificationDrawerListItem.d.ts.map
\No newline at end of file