AshAuthentication.Phoenix.Components.Apple (ash_authentication_phoenix v2.12.2)
View SourceGenerates a sign-in button for Apple.
Component hierarchy
This is the top-most strategy-specific component, nested below
AshAuthentication.Phoenix.Components.SignIn.
Props
strategy- The strategy configuration as perAshAuthentication.Info.strategy/2. Required.auth_routes_prefix- Optional route prefix for authentication routes.overrides- A list of override modules.gettext_fn- Optional text translation function.
Overrides
This component provides the following overrides:
:root_class- CSS classes for the rootdivelement.:link_class- CSS classes for theaelement.:icon_class- CSS classes for the icon SVG.
See AshAuthentication.Phoenix.Overrides for more information.
Summary
Types
@type props() :: %{ :strategy => AshAuthentication.Strategy.t(), optional(:auth_routes_prefix) => String.t(), optional(:overrides) => [module()], optional(:gettext_fn) => {module(), atom()} }