Interface: ToastPromiseParams\<TData, TError, TPending>
services.ToastPromiseParams
Parameters for toast notifications related to promises, with optional states.
Type parameters
Name | Type |
---|---|
TData | unknown |
TError | unknown |
TPending | unknown |
Table of contents
Properties
Properties
error
• Optional
error: string
| UpdateOptions
\<TError
>
Optional content or options for the error state.
Defined in
src/services/toastService.ts:200
pending
• Optional
pending: string
| UpdateOptions
\<TPending
>
Optional content or options for the pending state.
Defined in
src/services/toastService.ts:194
success
• Optional
success: string
| UpdateOptions
\<TData
>
Optional content or options for the success state.