Skip to content

Commit

Permalink
rst
Browse files Browse the repository at this point in the history
  • Loading branch information
smnandre committed Oct 20, 2024
1 parent d05a762 commit 6046811
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/React/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ in the DOM or is removed and immediately re-added to the DOM (e.g. when using
.. code-block:: html+twig

{# templates/home.html.twig #}

{% extends 'base.html.twig' %}

{# The React component will stay mounted if the div is moved in the DOM #}
<div {{ react_component('Hello', {fullName: 'Fabien'}, {permanent: true}) }}>
Loading...
Expand Down

0 comments on commit 6046811

Please sign in to comment.