import { useState } from "react"; import { Button } from "@termix/plugin-sdk/ui"; import { useTranslation, type LoginMethodUIProps, } from "@termix/plugin-sdk/frontend"; /** One button per enabled provider. */ export function OidcLoginButtons({ instances, disabled, startRedirect, }: LoginMethodUIProps) { const { t } = useTranslation(); const [loadingId, setLoadingId] = useState(null); return ( <> {instances.map((instance) => ( ))} ); }