jiti-meet/react/features/google-api/components/AbstractGoogleSignInButton.js

35 lines
687 B
JavaScript
Raw Normal View History

// @flow
import { Component } from 'react';
/**
2021-11-04 21:10:43 +00:00
* {@code AbstractGoogleSignInButton} Component's property types.
*/
type Props = {
/**
* The callback to invoke when the button is clicked.
*/
onClick: Function,
/**
* True if the user is signed in, so it needs to render a different label
* and maybe different style (for the future).
*/
signedIn?: boolean,
/**
* Function to be used to translate i18n labels.
*/
t: Function
};
/**
* Abstract class of the {@code GoogleSignInButton} to share platform
* independent code.
*
* @inheritdoc
*/
export default class AbstractGoogleSignInButton extends Component<Props> {
}