defmodule Moon.Design.Dropdown.Header do @moduledoc "Optional dropdown header" use Moon.StatelessComponent, slot: "header" @doc "Data-testid attribute for HTML tag" prop(testid, :string) @doc "Id attribute for HTML tag" prop(id, :string) @doc "Additional Taiilwind classes" prop(class, :css_class) @doc "Inner content of the component" slot(default) def render(assigns) do ~F"""