Skip to main content

Type Alias: Notification

Notification = object

Defined in: react-notifications/src/Provider.tsx:16

Properties​

actions?​

optional actions?: NotificationAction[]

Defined in: react-notifications/src/Provider.tsx:25


boxId?​

optional boxId?: string | number

Defined in: react-notifications/src/Provider.tsx:23


id?​

optional id?: string | number

Defined in: react-notifications/src/Provider.tsx:17


message​

message: string

Defined in: react-notifications/src/Provider.tsx:19


persist?​

optional persist?: boolean

Defined in: react-notifications/src/Provider.tsx:24


title?​

optional title?: string

Defined in: react-notifications/src/Provider.tsx:18


toast?​

optional toast?: ToastOptions

Defined in: react-notifications/src/Provider.tsx:22


type​

type: "warning" | "error" | "info" | "success"

Defined in: react-notifications/src/Provider.tsx:20


viewType?​

optional viewType?: ViewType

Defined in: react-notifications/src/Provider.tsx:21