lustre/ui/alert

Functions

pub fn alert(
  attributes: List(Attribute(a)),
  children: List(Element(a)),
) -> Element(a)
pub fn clear() -> Attribute(a)
pub fn error() -> Attribute(a)
pub fn greyscale() -> Attribute(a)
pub fn info() -> Attribute(a)
pub fn of(
  element: fn(List(Attribute(a)), List(Element(a))) -> Element(a),
  attributes: List(Attribute(a)),
  children: List(Element(a)),
) -> Element(a)
pub fn primary() -> Attribute(a)
pub fn success() -> Attribute(a)
pub fn warning() -> Attribute(a)
Search Document