custom
custom: ((jsx: ((id: string | number) => ReactElement<any, string | JSXElementConstructor<any>>), data?: ExternalToast) => string | number)
dismiss
dismiss: ((id?: string | number) => string | number)
error
error: ((message:
| undefined
| null
| string
| number
| boolean
| ReactElement<any, string | JSXElementConstructor<any>>
| Iterable<ReactNode>
| ReactPortal
| (() => ReactNode), data?: ExternalToast) => string | number)
getHistory
getHistory: (() => (ToastT | ToastToDismiss)[])
info
info: ((message:
| undefined
| null
| string
| number
| boolean
| ReactElement<any, string | JSXElementConstructor<any>>
| Iterable<ReactNode>
| ReactPortal
| (() => ReactNode), data?: ExternalToast) => string | number)
loading
loading: ((message:
| undefined
| null
| string
| number
| boolean
| ReactElement<any, string | JSXElementConstructor<any>>
| Iterable<ReactNode>
| ReactPortal
| (() => ReactNode), data?: ExternalToast) => string | number)
message
message: ((message:
| undefined
| null
| string
| number
| boolean
| ReactElement<any, string | JSXElementConstructor<any>>
| Iterable<ReactNode>
| ReactPortal
| (() => ReactNode), data?: ExternalToast) => string | number)
promise
success
success: ((message:
| undefined
| null
| string
| number
| boolean
| ReactElement<any, string | JSXElementConstructor<any>>
| Iterable<ReactNode>
| ReactPortal
| (() => ReactNode), data?: ExternalToast) => string | number)
warning
warning: ((message:
| undefined
| null
| string
| number
| boolean
| ReactElement<any, string | JSXElementConstructor<any>>
| Iterable<ReactNode>
| ReactPortal
| (() => ReactNode), data?: ExternalToast) => string | number)