mirror of
https://github.com/supabase/supabase.git
synced 2026-06-28 19:39:19 -04:00
11 lines
380 B
TypeScript
11 lines
380 B
TypeScript
import authProviders from '../../data/authProviders'
|
|
import { withDocsBasePath } from '../internal-links'
|
|
|
|
export const AuthProviders = ({ props }: { props: Record<string, unknown> }): string => {
|
|
const type = String(props.type ?? '')
|
|
return authProviders
|
|
.filter((p) => p.authType === type)
|
|
.map((p) => `- [${p.name}](${withDocsBasePath(p.href)})`)
|
|
.join('\n')
|
|
}
|