Skip to content

Commit

Permalink
Merge pull request #2 from joe307bad/master
Browse files Browse the repository at this point in the history
PR testID modal
  • Loading branch information
hepter authored May 6, 2021
2 parents e886fdc + b42ea96 commit 11b56b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@ export default class ModalSelector extends React.Component {
supportedOrientations={this.props.supportedOrientations}
visible={this.state.modalVisible}
onRequestClose={this.close}
testID={this.props.modalTestId}
animationType={this.props.animationType}
onDismiss={() => this.state.changedItem && this.props.onChange(this.state.changedItem)}
>
Expand Down

0 comments on commit 11b56b0

Please sign in to comment.