feat: add lark provider (#264)

Signed-off-by: sh1luo <690898835@qq.com>
This commit is contained in:
sh1luo
2021-08-14 16:00:38 +08:00
committed by GitHub
parent 004282f970
commit c05b27c38f
7 changed files with 265 additions and 2 deletions

View File

@ -31,6 +31,7 @@ import WeiboLoginButton from "./WeiboLoginButton";
import i18next from "i18next";
import LinkedInLoginButton from "./LinkedInLoginButton";
import WeComLoginButton from "./WeComLoginButton";
import LarkLoginButton from "./LarkLoginButton";
class LoginPage extends React.Component {
constructor(props) {
@ -167,6 +168,8 @@ class LoginPage extends React.Component {
return <LinkedInLoginButton text={text} align={"center"} />
} else if (type === "WeCom") {
return <WeComLoginButton text={text} align={"center"} />
} else if (type === "Lark") {
return <LarkLoginButton text={text} align={"center"} />
}
return text;