diff --git a/src/TwigComponent/doc/index.rst b/src/TwigComponent/doc/index.rst index cb6e22ad55b..ac0bf998dc6 100644 --- a/src/TwigComponent/doc/index.rst +++ b/src/TwigComponent/doc/index.rst @@ -1618,15 +1618,15 @@ when using nested components: {# ✅ this also works because it only uses the Twig syntax #} - + {% component Card %} {# ... #} - + {% block footer %} {% component 'Button:Primary' with {isBlock: true} %} {% block content %}Edit{% endblock %} {% endcomponent %} - - + {% endblock %} + {% endcomponent %} If you're using `Live Components`_, then there *are* some guidelines related to how the re-rendering of parent and child components works. Read `Live Nested Components`_.