Add Unlink API.

This commit is contained in:
Yang Luo
2021-04-18 23:14:46 +08:00
parent 2934d6bdeb
commit 6774b0379c
8 changed files with 171 additions and 28 deletions

View File

@ -171,3 +171,10 @@ export function getClickable(text) {
</a>
)
}
export function getIdpLogo(idp) {
const url = `https://cdn.jsdelivr.net/gh/casbin/static/img/social_${idp}.png`;
return (
<img width={30} height={30} src={url} alt={idp} />
)
}