You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- the level of the notification (`info`, `success` or `warning` - the default is `info`)
647
-
- an `options` object to pass to the `translate` function (because notification messages are translated if your admin has an `i18nProvider`). It is useful for inserting variables into the translation.
648
-
- an `undoable` boolean. Set it to `true` if the notification should contain an "undo" button
649
-
- a `duration` number. Set it to `0` if the notification should not be dismissible.
644
+
The callback takes 6 arguments:
645
+
- The message to display
646
+
- The level of the notification (`info`, `success` or `warning` - the default is `info`)
647
+
- An `options` object to pass to the `translate` function (because notification messages are translated if your admin has an `i18nProvider`). It is useful for inserting variables into the translation.
648
+
- An `undoable` boolean. Set it to `true` if the notification should contain an "undo" button
649
+
- A `duration` number. Set it to `0` if the notification should not be dismissible.
650
+
- A `multiLine` boolean. Set it to `true` if the notification message should be shown in more than one line.
0 commit comments