Skip to content

Commit

Permalink
docrst
Browse files Browse the repository at this point in the history
  • Loading branch information
smnandre committed Nov 1, 2024
1 parent b6fe9f9 commit 21b11a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Map/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ You can add custom HTML attributes too:
Twig Function ``ux_map()``
--------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~

The ``ux_map()`` Twig function allows you to create and render a map in your Twig
templates. The function accepts the same arguments as the ``Map`` class:
Expand All @@ -193,11 +193,11 @@ templates. The function accepts the same arguments as the ``Map`` class:
) }}
Twig Component ``<twig:ux:map />``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Alternatively, you can use the ``<twig:ux:map />`` component.

.. code-block:: twig
.. code-block:: html+twig

<twig:ux:map
center="[51.5074, 0.1278]"
Expand Down

0 comments on commit 21b11a9

Please sign in to comment.