Tango.Live.Components (tango v0.1.2)

Copy Markdown View Source

Convenience module for using Tango LiveView components.

Usage

use Tango.Live.Components

This makes Tango.Live.OAuthComponent available for use as a LiveComponent:

<.live_component
  module={Tango.Live.OAuthComponent}
  id="github-oauth"
  provider="github"
  tenant_id="user-123"
  callback_url="http://localhost:4000/api/oauth/callback"
/>