You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the goal here is to build an imperative, generic, typesafe "dialog" sheet, that you can call like
SheetManager.show('alert-sheet',payload: {title: 'Are you sure you want to make this booking?'onPressOk: createBooking,}).then(booking=>
where booking would be of type: createBooking return type.
for this to work the ActionSheet needs to be able to receive functions in its payload
inb4 u can just return a boolean and do the processing afterwards.
i'd like to be able to do other things while the sheet is open e.g. showing loading/progress
getting
undefined
for all callbacks I pass inpayload
forSheetManager.show
is this expected ?
The text was updated successfully, but these errors were encountered: