Skip to content

Commit

Permalink
added airbreak
Browse files Browse the repository at this point in the history
  • Loading branch information
Clint McMahon committed Jun 2, 2021
1 parent eff897a commit 0917e04
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ function App() {
artist={nowPlaying.artist}
song={nowPlaying.song}
album={nowPlaying.album}
playType={nowPlaying.play_type}
/>
</div>
</>
Expand Down
8 changes: 8 additions & 0 deletions src/components/TrackInfo.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
import React from "react";

function TrackInfo(props) {
if(props.playType === "airbreak")
{
return (
<div className="block">
Air Break
</div>
)
}
return (
<>
<div className="block">
Expand Down
2 changes: 1 addition & 1 deletion src/index.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
html,
body,
#root {
height: 100%;
min-width: 325px;
}

body {
Expand Down

0 comments on commit 0917e04

Please sign in to comment.