View Source AshAuthentication.Phoenix.Components.Banner (ash_authentication_phoenix v2.3.0)
Renders a very simple banner at the top of the sign-in component.
Can show either an image or some text, depending on the provided overrides.
Props
overrides
- A list of override modules.
Overrides
This component provides the following overrides:
:text
- Banner text. Set tonil
to disable.:root_class
- CSS class for the rootdiv
element.:href_class
- CSS class for thea
tag.:href_url
- A URL for the banner image to link to. Set tonil
to disable.:image_class
- CSS class for theimg
tag.:dark_image_class
- Css class for theimg
tag in dark mode.:image_url
- A URL for theimg
src
attribute. Set tonil
to disable.:dark_image_url
- A URL for theimg
src
attribute in dark mode. Set tonil
to disable.:text_class
- CSS class for the textdiv
.
See AshAuthentication.Phoenix.Overrides
for more information.
Summary
Types
@type props() :: %{optional(:overrides) => [module()]}