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
I created an exportable ref with export const actionSheetRef = React.createRef<ActionSheetProvider>(), and applied it to the ActionSheetProvider.
When I then try to access it, using either actionSheetRef.current or actionSheetRef.current._actionSheetRef.current, all the typed functions don't seem to be accessible, even though the typescript definition file shows this:
I created an exportable ref with
export const actionSheetRef = React.createRef<ActionSheetProvider>()
, and applied it to the ActionSheetProvider.When I then try to access it, using either
actionSheetRef.current
oractionSheetRef.current._actionSheetRef.current
, all the typed functions don't seem to be accessible, even though the typescript definition file shows this:I'd like to programatically close the action sheet using either _animateOut or _selectedCancelButton, but accessing that key returns
undefined
.Has anyone had any luck getting ref to work properly?
The text was updated successfully, but these errors were encountered: