UseToastReturn
Defined in: src/components/feedback/Toast/Toast.types.ts:49
Properties
Section titled “Properties”dismiss
Section titled “dismiss”dismiss: (
id) =>void
Defined in: src/components/feedback/Toast/Toast.types.ts:55
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”void
dismissAll
Section titled “dismissAll”dismissAll: () =>
void
Defined in: src/components/feedback/Toast/Toast.types.ts:56
Returns
Section titled “Returns”void
error: (
message,options?) =>string
Defined in: src/components/feedback/Toast/Toast.types.ts:54
Parameters
Section titled “Parameters”message
Section titled “message”string
options?
Section titled “options?”Partial<ToastData>
Returns
Section titled “Returns”string
info: (
message,options?) =>string
Defined in: src/components/feedback/Toast/Toast.types.ts:51
Parameters
Section titled “Parameters”message
Section titled “message”string
options?
Section titled “options?”Partial<ToastData>
Returns
Section titled “Returns”string
success
Section titled “success”success: (
message,options?) =>string
Defined in: src/components/feedback/Toast/Toast.types.ts:52
Parameters
Section titled “Parameters”message
Section titled “message”string
options?
Section titled “options?”Partial<ToastData>
Returns
Section titled “Returns”string
toast: (
data) =>string
Defined in: src/components/feedback/Toast/Toast.types.ts:50
Parameters
Section titled “Parameters”Returns
Section titled “Returns”string
warning
Section titled “warning”warning: (
message,options?) =>string
Defined in: src/components/feedback/Toast/Toast.types.ts:53
Parameters
Section titled “Parameters”message
Section titled “message”string
options?
Section titled “options?”Partial<ToastData>
Returns
Section titled “Returns”string