ammarahm-ed / react-native-actions-sheet

A Cross Platform(Android, iOS & Web) ActionSheet with a flexible api, native performance and zero dependency code for react native. Create anything you want inside ActionSheet.
https://rnas.vercel.app
MIT License
1.42k stars 119 forks source link

how to passing data when using SheetManager.get('id').current.show() #313

Open aliansyahFirdaus opened 10 months ago

aliansyahFirdaus commented 10 months ago

how to pass data when using SheetManager.get('id').current.show()

Example: 

SheetManager.get('confirmation-sheet').current.show({
   payload: {
    title: "okeey"
  },
})

because when I force passing, I get a typescript error