Snackbar.show({
title: 'Thank you for your feedback. We will resolve this issue internally',
backgroundColor: 'green',
action: {
title: 'Thanks',
color: 'white',
onPress: () => { /* Do something. */ },
},
})
The snackbar does not show, and I get this warning:
TypeError: undefined is not a function (near '...Snackbar.show...')
I am running from xcode, in a typescript RN app running on an iPad simulator.
I get a warning when I call this show function:
The snackbar does not show, and I get this warning:
TypeError: undefined is not a function (near '...Snackbar.show...')
I am running from xcode, in a typescript RN app running on an iPad simulator.
Does anyone know how to fix this?