UNPKG

@selfcommunity/react-ui

Version:

React UI Components to integrate a Community created with SelfCommunity Platform.

16 lines (15 loc) 841 B
import { SCNotificationConnectionAcceptType, SCNotificationConnectionRequestType } from '@selfcommunity/types'; import { NotificationItemProps } from '../../../shared/NotificationItem'; export interface NotificationConnectionProps extends Pick<NotificationItemProps, Exclude<keyof NotificationItemProps, 'image' | 'disableTypography' | 'primary' | 'primaryTypographyProps' | 'secondary' | 'secondaryTypographyProps' | 'actions' | 'footer' | 'isNew'>> { /** * Notification obj * @default null */ notificationObject: SCNotificationConnectionRequestType | SCNotificationConnectionAcceptType; } /** * This component render the content of the notification of connection accept/request * @constructor * @param props */ export default function UserConnectionNotification(props: NotificationConnectionProps): JSX.Element;