From cde2804a9a8487759789c9a19bc20a00f4684404 Mon Sep 17 00:00:00 2001 From: Nils Petersohn Date: Sun, 19 Jan 2025 22:08:51 +0100 Subject: [PATCH] docs: correct example in docs for rendering multiple slots in a html table with render_slot (#3643) --- lib/phoenix_component.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/phoenix_component.ex b/lib/phoenix_component.ex index 4a5750407..1e6eedb32 100644 --- a/lib/phoenix_component.ex +++ b/lib/phoenix_component.ex @@ -1062,8 +1062,8 @@ defmodule Phoenix.Component do def table(assigns) do ~H""" - - + +
{col.label}
{col.label}
{render_slot(col, row)}