FrappeUIPhx.Components.Alert (frappe_ui_phx v0.3.1)

Copy Markdown View Source

Alerta com título, descrição e ação opcional. Temas gray | blue | green | amber | red.

Summary

Functions

alert(assigns)

Attributes

  • theme (:atom) - Defaults to :gray. Must be one of :gray, :blue, :green, :amber, or :red.
  • title (:string) (required)
  • icon (:string) - sobrescreve o ícone do tema. Defaults to nil.
  • class (:any) - Defaults to nil.
  • Global attributes are accepted.

Slots

  • inner_block - descrição.
  • actions