Current section

Files

Jump to
m3e src m3e stepper_previous.gleam
Raw

src/m3e/stepper_previous.gleam

//// StepperPrevious is an element, nested within a clickable element, used to move a stepper to the previous step.
////
//// This file was generated by m3e/generator
////
//// DO NOT EDIT
////
import lustre/attribute.{type Attribute}
import lustre/element.{type Element}
// --- Types ---
/// StepperPrevious is a View Model for this component
///
pub opaque type StepperPrevious {
StepperPrevious
}
// --- Defaults ---
// --- Constructors ---
/// new creates a new StepperPrevious with the default configuration.
///
pub fn new() -> StepperPrevious {
StepperPrevious
}
// --- Setters ---
// --- Renderers ---
/// render creates a Lustre Element for a StepperPrevious
///
pub fn render(
_: StepperPrevious,
attributes: List(Attribute(msg)),
children: List(Element(msg)),
) -> Element(msg) {
element.element("m3e-stepper-previous", attributes, children)
}