diff --git a/assets/icons/settings.svg b/assets/icons/settings.svg new file mode 100644 index 000000000..0b3a407a0 --- /dev/null +++ b/assets/icons/settings.svg @@ -0,0 +1,4 @@ + + + + diff --git a/lib/live_debugger_web/components.ex b/lib/live_debugger_web/components.ex index 8132a1dc2..eabf96536 100644 --- a/lib/live_debugger_web/components.ex +++ b/lib/live_debugger_web/components.ex @@ -598,11 +598,15 @@ defmodule LiveDebuggerWeb.Components do """ attr(:checked, :boolean, default: false, doc: "Whether the switch is checked.") attr(:label, :string, default: "", doc: "Label for the switch.") + attr(:wrapper_class, :any, default: nil, doc: "Additional classes to add to the switch.") attr(:rest, :global) def toggle_switch(assigns) do ~H""" -