diff --git a/src/components/record-modal/re-record-icon.svg b/src/components/record-modal/icon--back.svg similarity index 100% rename from src/components/record-modal/re-record-icon.svg rename to src/components/record-modal/icon--back.svg diff --git a/src/components/record-modal/icon--play.svg b/src/components/record-modal/icon--play.svg new file mode 100644 index 000000000..e1b586917 --- /dev/null +++ b/src/components/record-modal/icon--play.svg @@ -0,0 +1,27 @@ + + + + play + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/components/record-modal/icon--stop-playback.svg b/src/components/record-modal/icon--stop-playback.svg new file mode 100644 index 000000000..bf7bb64be --- /dev/null +++ b/src/components/record-modal/icon--stop-playback.svg @@ -0,0 +1,28 @@ + + + + stop-playback + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/components/record-modal/icon--stop-recording.svg b/src/components/record-modal/icon--stop-recording.svg new file mode 100644 index 000000000..4bf61fb50 --- /dev/null +++ b/src/components/record-modal/icon--stop-recording.svg @@ -0,0 +1,28 @@ + + + + stop-recording + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/components/record-modal/playback-step.jsx b/src/components/record-modal/playback-step.jsx index 01001b6ca..72879344b 100644 --- a/src/components/record-modal/playback-step.jsx +++ b/src/components/record-modal/playback-step.jsx @@ -5,7 +5,9 @@ const Waveform = require('../waveform/waveform.jsx'); const Meter = require('../meter/meter.jsx'); const styles = require('./record-modal.css'); -const reRecordIcon = require('./re-record-icon.svg'); +const backIcon = require('./icon--back.svg'); +const stopIcon = require('./icon--stop-playback.svg'); +const playIcon = require('./icon--play.svg'); const PlaybackStep = props => ( @@ -32,60 +34,7 @@ const PlaybackStep = props => ( className={styles.mainButton} onClick={props.playing ? props.onStopPlaying : props.onPlay} > - - - {props.playing ? ( - - - - - ) : ( - - - - - )} - - +
{props.playing ? 'Stop' : 'Play'} @@ -98,7 +47,7 @@ const PlaybackStep = props => ( className={styles.cancelButton} onClick={props.onBack} > - Re-record + Re-record