reactsigninwithgooglebutton
Version:
Renders the Sign In with Google Button without the onclick logic.
19 lines (18 loc) • 543 B
TypeScript
import React from 'react';
import "typeface-roboto";
export interface SignInWithGoogleButtonProps {
/**
* The button text.
*/
text?: string;
/**
* The button onclick event handler.
*/
onClick: React.MouseEventHandler<HTMLButtonElement> | undefined;
/**
* Styles to apply to the button element.
*/
buttonStyle?: React.CSSProperties;
}
declare const SignInWithGoogleButton: ({ text, onClick, buttonStyle }: SignInWithGoogleButtonProps) => JSX.Element;
export default SignInWithGoogleButton;