Skip to content

Commit 1460cd2

Browse files
[Icons] Docs: Cleanup of symfony/ux-twig-component
1 parent 8f02bd6 commit 1460cd2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/Icons/doc/index.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ HTML Syntax
175175

176176
In addition to the ``ux_icon()`` function explained in the previous sections,
177177
this package also supports an alternative HTML syntax based on the ``<twig:ux:icon>``
178-
tag if the ``symfony/ux-twig-component`` package is installed:
178+
tag:
179179

180180
.. code-block:: html
181181

@@ -192,7 +192,11 @@ tag if the ``symfony/ux-twig-component`` package is installed:
192192
.. tip::
193193

194194
To use the HTML syntax, the ``symfony/ux-twig-component`` package must be
195-
installed in your project.
195+
installed in your project:
196+
197+
.. code-block:: terminal
198+
199+
$ composer require symfony/ux-twig-component
196200
197201
Downloading Icons
198202
-----------------
@@ -330,10 +334,6 @@ HTML Syntax
330334
{# Renders "flowbite:user-solid" from ux.symfony.com #}
331335
<twig:ux:icon name="flowbite:user-solid" />
332336

333-
.. note::
334-
335-
``symfony/ux-twig-component`` is required to use the HTML syntax.
336-
337337
Default Attributes
338338
~~~~~~~~~~~~~~~~~~
339339

0 commit comments

Comments
 (0)