uppy/src/plugins/GoogleDrive/AuthView.js
2016-08-18 15:30:12 -04:00

12 lines
392 B
JavaScript

import html from '../../core/html'
export default (props) => {
const demoLink = props.demo ? html`<a onclick=${props.handleDemoAuth}>Proceed with Demo Account</a>` : null
return html`
<div class="UppyGoogleDrive-authenticate">
<h1>You need to authenticate with Google before selecting files.</h1>
<a href=${props.link}>Authenticate</a>
${demoLink}
</div>
`
}