Current section
Files
Jump to
Current section
Files
src/m3e/avatar.gleam
//// Avatar is an image, icon or textual initials representing a user or other identity.
////
//// This file was generated by m3e/generator
////
//// DO NOT EDIT
////
import lustre/attribute.{type Attribute}
import lustre/element.{type Element}
// --- Types ---
/// Avatar is a View Model for this component
///
pub opaque type Avatar {
Avatar
}
// --- Defaults ---
// --- Constructors ---
/// new creates a new Avatar with the default configuration.
///
pub fn new() -> Avatar {
Avatar
}
// --- Setters ---
// --- Renderers ---
/// render creates a Lustre Element for a Avatar
///
pub fn render(
_: Avatar,
attributes: List(Attribute(msg)),
children: List(Element(msg)),
) -> Element(msg) {
element.element("m3e-avatar", attributes, children)
}