Skip to content

Commit

Permalink
Add stop button
Browse files Browse the repository at this point in the history
  • Loading branch information
esilverberg committed Sep 25, 2019
1 parent 7fef27b commit 7bd87ef
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Example/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,12 @@ export default class Example extends Component {
}}
title="Unmute"
/>
<Button
onPress={() => {
this.player.stop()
}}
title="Stop"
/>
</View>
);
}
Expand Down

0 comments on commit 7bd87ef

Please sign in to comment.