Skip to main content

Interface: ToastPromiseParams\<TData, TError, TPending>

services.ToastPromiseParams

Parameters for toast notifications related to promises, with optional states.

Type parameters

NameType
TDataunknown
TErrorunknown
TPendingunknown

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.

Defined in

src/services/toastService.ts:197