Spaces:
Runtime error
Runtime error
Update src/components/sound-editor/sound-editor.jsx
Browse files
src/components/sound-editor/sound-editor.jsx
CHANGED
|
@@ -19,6 +19,7 @@ import stopIcon from './icon--stop.svg';
|
|
| 19 |
import redoIcon from './icon--redo.svg';
|
| 20 |
import undoIcon from './icon--undo.svg';
|
| 21 |
import modifyIcon from './icon--modify.svg';
|
|
|
|
| 22 |
import fasterIcon from './icon--faster.svg';
|
| 23 |
import slowerIcon from './icon--slower.svg';
|
| 24 |
import louderIcon from './icon--louder.svg';
|
|
@@ -374,6 +375,12 @@ const SoundEditor = props => (
|
|
| 374 |
title={"High Pass"}
|
| 375 |
onClick={props.onHighPass}
|
| 376 |
/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 377 |
</div>
|
| 378 |
</div>
|
| 379 |
<div className={styles.infoRow}>
|
|
@@ -463,6 +470,7 @@ SoundEditor.propTypes = {
|
|
| 463 |
onFadeOut: PropTypes.func.isRequired,
|
| 464 |
onFaster: PropTypes.func.isRequired,
|
| 465 |
onModifySound: PropTypes.func.isRequired,
|
|
|
|
| 466 |
onLouder: PropTypes.func.isRequired,
|
| 467 |
onMute: PropTypes.func.isRequired,
|
| 468 |
onPaste: PropTypes.func.isRequired,
|
|
|
|
| 19 |
import redoIcon from './icon--redo.svg';
|
| 20 |
import undoIcon from './icon--undo.svg';
|
| 21 |
import modifyIcon from './icon--modify.svg';
|
| 22 |
+
import formatIcon from './icon--format.svg';
|
| 23 |
import fasterIcon from './icon--faster.svg';
|
| 24 |
import slowerIcon from './icon--slower.svg';
|
| 25 |
import louderIcon from './icon--louder.svg';
|
|
|
|
| 375 |
title={"High Pass"}
|
| 376 |
onClick={props.onHighPass}
|
| 377 |
/>
|
| 378 |
+
<IconButton
|
| 379 |
+
className={styles.effectButton}
|
| 380 |
+
img={formatIcon}
|
| 381 |
+
title={"Format"}
|
| 382 |
+
onClick={props.onFormatSound}
|
| 383 |
+
/>
|
| 384 |
</div>
|
| 385 |
</div>
|
| 386 |
<div className={styles.infoRow}>
|
|
|
|
| 470 |
onFadeOut: PropTypes.func.isRequired,
|
| 471 |
onFaster: PropTypes.func.isRequired,
|
| 472 |
onModifySound: PropTypes.func.isRequired,
|
| 473 |
+
onFormatSound: PropTypes.func.isRequired,
|
| 474 |
onLouder: PropTypes.func.isRequired,
|
| 475 |
onMute: PropTypes.func.isRequired,
|
| 476 |
onPaste: PropTypes.func.isRequired,
|