We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdd3107 commit b7c7750Copy full SHA for b7c7750
src/TwigComponent/doc/index.rst
@@ -293,7 +293,7 @@ prefix the attribute with ``:`` or use the normal ``{{ }}`` syntax:
293
<twig:Alert message="hello!" user="{{ user.id }}" />
294
295
// pass object, array, or anything you imagine
296
- <twig:Alert :foo="['col' => ['foo', 'oof']]" />
+ <twig:Alert :foo="{col: ['foo', 'oof']}" />
297
298
Don't forget that you can mix and match props with attributes that you
299
want to render on the root element:
0 commit comments