Commit 7866573
committed
react-native: Call both onClose and closeButtonProps.onPress in BannerBase handleClosePress to ensure close button invokes consumer handler when onClose is provided (fixes ignored closeButtonProps.onPress in Toast/Toaster).
1 parent 5eb5853 commit 7866573
1 file changed
Lines changed: 3 additions & 4 deletions
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
| |||
0 commit comments