From 0642d4a51b349ade58724f1f99adbb09124ab526 Mon Sep 17 00:00:00 2001 From: Alexis Lefebvre Date: Thu, 9 Oct 2025 19:34:00 +0200 Subject: [PATCH] TwigComponent: explain that default values are mandatory --- src/TwigComponent/doc/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TwigComponent/doc/index.rst b/src/TwigComponent/doc/index.rst index 363b516ccc3..5e7c3681734 100644 --- a/src/TwigComponent/doc/index.rst +++ b/src/TwigComponent/doc/index.rst @@ -702,7 +702,7 @@ You can also pass a variable (prop) into your template: To tell the system that ``icon`` and ``type`` are props and not attributes, use the -``{% props %}`` tag at the top of your template. +``{% props %}`` tag at the top of your template. You must define the default value for each prop. .. code-block:: html+twig