defmodule MoonWeb.Examples.Parts.WizardExample.Default do @moduledoc false use Moon.StatefulComponent use MoonWeb, :example alias Moon.Parts.Wizard alias Moon.Design.Tabs import MoonWeb.Helpers.Lorem data(selected, :integer, default: 0) data(done, :boolean, default: false) data(steps, :list, default: [ %{ title: "General", text: "In order to make you available and match you with the right opportunities we need some additional information." }, %{ title: "Configuration", text: "In order to make you available and match you with the right opportunities we need some additional information." }, %{ title: "Permissions", text: "In order to make you available and match you with the right opportunities we need some additional information." } ] ) def render(assigns) do ~F"""