We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfc8390 commit 7d86b59Copy full SHA for 7d86b59
react/components/Toast/index.js
@@ -14,11 +14,11 @@ class ToastProvider extends Component {
14
this.toastManager = React.createRef()
15
}
16
17
- showToast = message => {
+ showToast = args => {
18
this.toastManager &&
19
this.toastManager.current &&
20
this.toastManager.current.showToast &&
21
- this.toastManager.current.showToast(message)
+ this.toastManager.current.showToast(args)
22
23
24
hideToast = () => {
0 commit comments