View Source Phoenix.UI.Components.Alert (Phoenix UI v0.1.8)
Provides Alert component
Link to this section Summary
Functions
Renders alert component.
Link to this section Functions
@spec alert(Phoenix.LiveView.Socket.assigns()) :: Phoenix.LiveView.Rendered.t()
Renders alert component.
examples
Examples
```
<.alert>
ruh roh!
</.alert>
```