Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
// @flow
import * as React from 'react';
import type { ButtonProps } from './';
import { FacebookButton, Label, A } from './style';
import Icon from 'src/components/icon';
export const FacebookSigninButton = (props: ButtonProps) => {
const { href, preferred, showAfter, onClickHandler } = props;
return (
<A onClick={() => onClickHandler && onClickHandler('facebook')} href={href}>
<FacebookButton showAfter={showAfter} preferred={preferred}>
<Icon glyph={'facebook'} />
<Label>Log in with Facebook</Label>
</FacebookButton>
</A>
);
};