summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/align/components/player/playButton.component.js
diff options
context:
space:
mode:
Diffstat (limited to 'animism-align/frontend/app/views/align/components/player/playButton.component.js')
-rw-r--r--animism-align/frontend/app/views/align/components/player/playButton.component.js22
1 files changed, 0 insertions, 22 deletions
diff --git a/animism-align/frontend/app/views/align/components/player/playButton.component.js b/animism-align/frontend/app/views/align/components/player/playButton.component.js
deleted file mode 100644
index f411941..0000000
--- a/animism-align/frontend/app/views/align/components/player/playButton.component.js
+++ /dev/null
@@ -1,22 +0,0 @@
-import React from 'react'
-
-import actions from 'app/actions'
-
-const PlayButton = ({ playing, onClick }) => {
- return (
- <div
- className={playing ? 'playButton playing' : 'playButton paused'}
- onClick={() => {
- if (onClick) {
- onClick(playing)
- } else if (playing) {
- actions.audio.pause()
- } else {
- actions.audio.play()
- }
- }}
- />
- )
-}
-
-export default PlayButton