NoticeCallbacktype

(...args: A) => PromiseLike<ReactNode | undefined | void> | ReactNode | undefined | void
Type
PromiseLike
ReactNode

Callback that can return or throw a value, triggering a success or error notice accordingly.