PhoenixKitWeb.Components.InvitationBanner (phoenix_kit v1.7.110)

Copy Markdown View Source

Stacked alert banners for pending organization invitations.

Rendered by LayoutWrapper when pk_pending_invitations is assigned via PhoenixKitWeb.Hooks.InvitationHook.

Events are forwarded to the parent LiveView which must have the InvitationHook attached to handle accept_invitation / decline_invitation.

Summary

Functions

Renders a stacked list of invitation banners, one per pending invitation.

Functions

invitation_banners(assigns)

Renders a stacked list of invitation banners, one per pending invitation.

Attributes

  • invitations — list of OrganizationInvitation structs with :organization preloaded

Attributes

  • invitations (:list) - Defaults to [].