Type Alias OsNotificationBeta

OsNotification: string | {
    description?: string;
    detail?: {
        [key: string]: any;
    };
    id?: string;
    level?:
        | "info"
        | "success"
        | "error"
        | "warning";
    message: string | ReactNode;
    placement?:
        | "top"
        | "bottom"
        | "topLeft"
        | "topRight"
        | "bottomLeft"
        | "bottomRight";
}

Type for notifications.

Type declaration

  • Optional Betadescription?: string

    Description of the notification.

  • Optional Betadetail?: {
        [key: string]: any;
    }

    Additional details for the notification.

    • [key: string]: any
  • Optional Betaid?: string

    ID of the notification.

  • Optional Betalevel?:
        | "info"
        | "success"
        | "error"
        | "warning"

    Level of the notification.

  • Betamessage: string | ReactNode

    Message of the notification.

  • Optional Betaplacement?:
        | "top"
        | "bottom"
        | "topLeft"
        | "topRight"
        | "bottomLeft"
        | "bottomRight"

    Placement of the notification.