File tree 2 files changed +5
-1
lines changed
src/components/SoundcloudDeck
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ To install TReactr, use:
25
25
This is equivalent to ` yarn install ` or ` npm install ` .
26
26
27
27
## Run:
28
- To start a3 dev server and launch TReactr in your browser, use:
28
+ To start a dev server and launch TReactr in your browser, use:
29
29
30
30
yarn start
31
31
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import ReactPlayer from 'react-player' ;
3
+ import Wavesurfer from 'react-wavesurfer' ;
3
4
import withStyles from 'isomorphic-style-loader/lib/withStyles' ;
4
5
import PropTypes from 'prop-types' ;
5
6
import Deck from '../Deck' ;
@@ -129,6 +130,9 @@ class SoundcloudDeck extends Deck {
129
130
} }
130
131
volume = { this . props . volume / 127 }
131
132
/>
133
+ < Wavesurfer
134
+ audioFile = { this . props . url }
135
+ />
132
136
</ div >
133
137
) ;
134
138
}
You can’t perform that action at this time.
0 commit comments