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