Skip to content

Instantly share code, notes, and snippets.

@gate5th
Created September 12, 2018 18:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gate5th/c60d7ce4332248d46ac115a5708bb2c9 to your computer and use it in GitHub Desktop.
Save gate5th/c60d7ce4332248d46ac115a5708bb2c9 to your computer and use it in GitHub Desktop.
oldschoolshuffle
//ConnectSpotify.js
import React, { Component } from 'react';
import './ConnectSpotify.css';
import * as SpotifyFunctions from '../spotifyFunctions.js'
class ConnectSpotify extends Component {
render() {
return (
<div className="ConnectSpotify">
<a href={SpotifyFunctions.redirectUrlToSpotifyForLogin()}>
<button>Connect to Spotify</button>
</a>
</div>
);
}
}
export default ConnectSpotify;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment