defmodule SigmaKit.Components.ProgressBar do use Phoenix.LiveComponent attr :min, :float, default: 0.0, doc: "Minimum progress" attr :max, :float, default: 100.0, doc: "Maximum progress" attr :value, :float, default: 0.0, doc: "Current progress" attr :power_line, :boolean, default: false, doc: "Use a thin line style" def progress_bar(assigns = %{power_line: true}) do ~H"""
""" end def progress_bar(assigns = %{power_line: false}) do ~H"""
""" end end