UNPKG

@magicbell/magicbell-react

Version:

React components for building a notification inbox for your app

14 lines (13 loc) 482 B
import { INotification } from '@magicbell/react-headless'; export interface Props { notification: INotification; prose?: boolean; } /** * Component that renders the summary of a notification. The content of the * notification is compiled as a liquid template. * * @example * <NotificationContent notification={notification} /> */ export default function NotificationContent({ notification, prose: withProse }: Props): import("@emotion/react/jsx-runtime").JSX.Element;