increase notification duration from notification provider
I am using useNotificationProvider from @refine/antd. Is there a way to increase the duration of the notification?
2 Replies
Hi @synisme. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
Hmm, I don't know enough to give you a confident answer yet. The provided extracts do not contain specific information on how to increase the duration of a notification when using the
useNotificationProvider
from @refine/antd
.
However, the notificationProvider
object in Refine includes open
and close
methods, which Refine uses to show and hide notifications. The open
method accepts parameters that may include settings related to the duration of the notification.
Here is the general structure of the notificationProvider
object:
(Source: Refine Documentation (https://refine.dev/docs/notification/notification-provider))
For more detailed information, I recommend checking the Refine Documentation (https://refine.dev/docs) or the Ant Design Notification Documentation (https://ant.design/components/notification).
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------<@183085423604662273> kapa.ai is still learning and improving, please let us know how it did by reacting below