Skip to content

Commit

Permalink
add example
Browse files Browse the repository at this point in the history
  • Loading branch information
tulsileathers authored and leoasis committed Sep 14, 2017
1 parent 4b943e9 commit b4ca45a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/src/Example.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export default class Example extends React.Component {
volume={volume}
loop={loop}
onLoading={({bytesLoaded, bytesTotal}) => console.log(`${bytesLoaded / bytesTotal * 100}% loaded`)}
onLoad={() => console.log('Loaded')}
onPlaying={({position}) => console.log(position)}
onPause={() => console.log('Paused')}
onResume={() => console.log('Resumed')}
Expand Down

0 comments on commit b4ca45a

Please sign in to comment.