Display a single notification

Live Demo

When to use #

This component renders a single notification. It's best used to build a custom notification experience if the notification list component isn't suitable. In combination with the notifications REST API to send notifications, and the notifications data JS API to retrieve them, you can build a completely custom notifications experience.

How to use #

import { Notification } from "@cord-sdk/react";

export const Example = () => {
  return (
    <Notification notificationId="my-awesome-notification-id" />

Properties #

notificationId #

The ID of the notification to render.

Ask Cordy