UNPKG

@financial-times/n-conversion-forms

Version:

Containing jsx components and styles for forms included on Accounts and Acqusition apps (next-signup, next-profile, next-retention, etc).

22 lines (19 loc) 444 B
import React from 'react'; import PropTypes from 'prop-types'; export function GoogleSignIn({ signInRedirectUrl }) { return ( <> <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet" ></link> <base target="_parent" /> <a className="google_button" href={signInRedirectUrl}> Sign in with Google </a> </> ); } GoogleSignIn.propTypes = { signInRedirectUrl: PropTypes.string.isRequired, };