Class: Protos::Alert
- Defined in:
- lib/protos/alert.rb,
lib/protos/alert/icon.rb,
lib/protos/alert/actions.rb
Defined Under Namespace
Constant Summary collapse
- Styles =
DOCS: A component that displays messages (usually from flashes). These can be used in combination with Protos::Toast to have popup notifications. daisyui.com/components/alert/
Types::Coercible::Symbol.enum( :info, :success, :warning, :error )
- STYLES =
{ info: "alert-info", error: "alert-error", warning: "alert-warning", success: "alert-success" }.freeze
Instance Method Summary collapse
Methods inherited from Component
Constructor Details
This class inherits a constructor from Protos::Component