Skip to content

spec.press resulting in error for non Button components #191

@fuzzpedal

Description

@fuzzpedal

spec.press is working for Button components but I get the following error for TouchableHighlight and TouchableOpacity components:
undefined is not an object (evaluating 'component.props.onPress')

I'm using expo and typescript if that makes a difference.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions