The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
import { type ReactNode } from 'react'
import { formatPermissionName } from './OAuthAppsAuthorizeScreen.utils'
export const ScopeGroupCardItem = ({
label,
permissions,
}: {
label: ReactNode
permissions: string[]
}) => {
if (permissions.length === 0) return null
return (
<div className="flex flex-col gap-2 py-3">
<p className="font-mono text-xs uppercase text-foreground-light">{label}</p>
<p className="text-xs font-medium text-foreground">
{permissions.map((permission) => formatPermissionName(permission)).join(', ')}
</p>
</div>
)
}