Skip to content

Instantly share code, notes, and snippets.

@gate5th
Created September 12, 2018 18:29
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
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