Skip to content

Commit 299f610

Browse files
committed
minor #1280 Fix loadingContent block name in example (boedah)
This PR was merged into the 2.x branch. Discussion ---------- Fix loadingContent block name in example Just a documentation typo fix. Commits ------- 05cbb96 Fix loadingContent block name in example
2 parents bcd3f84 + 05cbb96 commit 299f610

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LiveComponent/doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2254,7 +2254,7 @@ Or override the ``loadingContent`` block:
22542254
.. code-block:: twig
22552255
22562256
{% component SomeHeavyComponent with { defer: true }) }}
2257-
{% block content %}Loading...{% endblock %}
2257+
{% block loadingContent %}Loading...{% endblock %}
22582258
{{ end_component() }}
22592259
22602260
To change the initial tag from a ``div`` to something else, use the ``loading-tag`` option:

0 commit comments

Comments
 (0)