src/examples/accounts/WithUi.tsx

Every source

src/examples/accounts/WithUi.tsx
'use client'

import { AccountManager } from '@synqauth/react'

// Connected accounts with Synq's UI: the ways the person signs in, each
// with the account it is, a button to stop one signing them in (it asks
// first), and the brand's other ways to add (Synq asks them to sign in again
// first), as the brand's account API lists them.
export function AccountsWithUi() {
  return <AccountManager sections={['accounts', 'sessions']} />
}