UNPKG

@magicbell/magicbell-react

Version:

React components for building a notification inbox for your app

13 lines (12 loc) 436 B
import { INotification } from '@magicbell/react-headless'; export interface Props { notification: INotification; } /** * Context menu for the clickable notification. Renders a menu with two items: * "Mark as read" and "Delete". * * @example * <NotificationContextMenu notification={notification} /> */ export default function NotificationContextMenu({ notification }: Props): import("@emotion/react/jsx-runtime").JSX.Element;