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
My MainView component then renders the MyActionSheet using a ternary condition and I try to call this.ActionSheet.show() in ComponentDidMount but I get the error in the title undefined is not an object (evaulating '_this.ActionSheet.show')
There is probably something fundamental I'm missing but I've been on this all weekend.
The text was updated successfully, but these errors were encountered:
I've wrapped
ActionSheet
in a class component, call itMyActionSheet
with some standard styling that I plan to use throughout my app.I'm then passing
MyActionSheet
to one of my main view components which passes props down toMyActionSheet
as they're received.My
MainView
component then renders theMyActionSheet
using a ternary condition and I try to callthis.ActionSheet.show()
inComponentDidMount
but I get the error in the titleundefined is not an object (evaulating '_this.ActionSheet.show')
There is probably something fundamental I'm missing but I've been on this all weekend.
The text was updated successfully, but these errors were encountered: