Files
jitsi-meet/react/features/google-api/components/AbstractGoogleSignInButton.ts
2023-03-29 12:54:56 +03:00

29 lines
668 B
TypeScript

import { Component } from 'react';
import { WithTranslation } from 'react-i18next';
/**
* {@code AbstractGoogleSignInButton} Component's property types.
*/
interface IProps extends WithTranslation {
/**
* 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;
}
/**
* Abstract class of the {@code GoogleSignInButton} to share platform
* independent code.
*
* @inheritdoc
*/
export default class AbstractGoogleSignInButton extends Component<IProps> {
}