@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
16 lines (15 loc) • 726 B
TypeScript
import { SCNotificationEventActivityType } from '@selfcommunity/types';
import { NotificationItemProps } from '../../../shared/NotificationItem';
export interface NotificationEventProps extends Pick<NotificationItemProps, Exclude<keyof NotificationItemProps, 'image' | 'disableTypography' | 'primary' | 'primaryTypographyProps' | 'secondary' | 'secondaryTypographyProps' | 'actions' | 'footer' | 'isNew'>> {
/**
* Notification obj
* @default null
*/
notificationObject: SCNotificationEventActivityType;
}
/**
* This component render the content of the notification of type event
* @constructor
* @param props
*/
export default function EventNotification(props: NotificationEventProps): JSX.Element;