Skip to content

Commit 6eb19c8

Browse files
author
Justin
committed
Changing type of Snackbar callback props
1 parent 6317301 commit 6eb19c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Fable.Helpers.ReactToolbox.fs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,8 @@ type SnackbarProps =
850850
| Active of bool
851851
| Icon of U2<React.ReactNode, string>
852852
| Label of string
853-
| OnTimeout of Function
853+
| OnTimeout of (obj->unit)
854+
| OnClick of (obj->unit)
854855
| Theme of SnackbarTheme
855856
| Timeout of float
856857
| Type of (* TODO StringEnum accept | cancel | warning *) string

0 commit comments

Comments
 (0)