Skip to content

PromiseIExtendedResult

Defined in: packages/sonner-next-intl/src/types.ts:126

Result structure returned from promise-based translated toasts.

T extends Record<string, any>

Messages map.

optional action: ReactNode | Action

Defined in: node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/sonner/dist/index.d.ts:62

TranslatedExternalToast.action


optional actionButtonStyle: CSSProperties

Defined in: node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/sonner/dist/index.d.ts:68

TranslatedExternalToast.actionButtonStyle


optional cancel: ReactNode | Action

Defined in: node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/sonner/dist/index.d.ts:63

TranslatedExternalToast.cancel


optional cancelButtonStyle: CSSProperties

Defined in: node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/sonner/dist/index.d.ts:67

TranslatedExternalToast.cancelButtonStyle


optional className: string

Defined in: node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/sonner/dist/index.d.ts:71

TranslatedExternalToast.className


optional classNames: ToastClassnames

Defined in: node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/sonner/dist/index.d.ts:72

TranslatedExternalToast.classNames


optional closeButton: boolean

Defined in: node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/sonner/dist/index.d.ts:57

TranslatedExternalToast.closeButton


optional description: string | TranslatedMessage<T>

Defined in: packages/sonner-next-intl/src/types.ts:115

TranslatedExternalToast.description


optional descriptionClassName: string

Defined in: node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/sonner/dist/index.d.ts:73

TranslatedExternalToast.descriptionClassName


optional dismissible: boolean

Defined in: node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/sonner/dist/index.d.ts:58

TranslatedExternalToast.dismissible


optional duration: number

Defined in: node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/sonner/dist/index.d.ts:60

TranslatedExternalToast.duration


optional icon: ReactNode

Defined in: node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/sonner/dist/index.d.ts:53

TranslatedExternalToast.icon


optional id: string | number

Defined in: node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/sonner/dist/index.d.ts:125

TranslatedExternalToast.id


optional invert: boolean

Defined in: node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/sonner/dist/index.d.ts:56

TranslatedExternalToast.invert


message: string | TranslatedMessage<T>

Defined in: packages/sonner-next-intl/src/types.ts:128


optional onAutoClose: (toast) => void

Defined in: node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/sonner/dist/index.d.ts:65

ToastT

void

TranslatedExternalToast.onAutoClose


optional onDismiss: (toast) => void

Defined in: node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/sonner/dist/index.d.ts:64

ToastT

void

TranslatedExternalToast.onDismiss


optional position: Position

Defined in: node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/sonner/dist/index.d.ts:74

TranslatedExternalToast.position


optional richColors: boolean

Defined in: node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/sonner/dist/index.d.ts:55

TranslatedExternalToast.richColors


optional style: CSSProperties

Defined in: node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/sonner/dist/index.d.ts:69

TranslatedExternalToast.style


optional testId: string

Defined in: node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/sonner/dist/index.d.ts:75

TranslatedExternalToast.testId


optional toasterId: string

Defined in: node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/sonner/dist/index.d.ts:50

TranslatedExternalToast.toasterId


optional unstyled: boolean

Defined in: node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/sonner/dist/index.d.ts:70

TranslatedExternalToast.unstyled