defmodule SchwiftUI.Collapse do @moduledoc """ Collapse is used for showing and hiding content. ## Examples <.collapse label="How do I create a new account?"> Click the "Sign Up" button in the top right corner and follow the registration process." """ use SchwiftUI, :component attr(:label, :string, doc: "Title label") slot(:inner_block) def collapse(assigns) do ~H"""