Skip to content

Commit 027494b

Browse files
[Icons] Docs: Fixing links to symfony/ux-twig-component
1 parent 825476f commit 027494b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Icons/doc/index.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ tag if the ``symfony/ux-twig-component`` package is installed:
191191

192192
.. tip::
193193

194-
To use the HTML syntax, the ``symfony/ux-twig-component`` package must be
194+
To use the HTML syntax, the `symfony/ux-twig-component`_ package must be
195195
installed in your project.
196196

197197
Downloading Icons
@@ -526,13 +526,13 @@ TwigComponent
526526
~~~~~~~~~~~~~
527527

528528
The ``ux_icon()`` function is optimized to be as fast as possible. To deliver the
529-
same level of performance when using the HTML syntax (``<twig:ux:icon name="..." />``),
529+
same level of performance as if using the HTML syntax (``<twig:ux:icon name="..." />``),
530530
the TwigComponent overhead is reduced by calling the IconRenderer immediately and
531531
returning the HTML output.
532532

533533
.. warning::
534534

535-
The <twig:ux:icon> component does not support embedded content.
535+
The `symfony/ux-twig-component`_ does not support embedded content.
536536

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

@@ -610,6 +610,7 @@ Learn more
610610
.. _`ux.symfony.com/icons`: https://ux.symfony.com/icons
611611
.. _`Iconify`: https://iconify.design
612612
.. _`symfony/asset-mapper`: https://symfony.com/doc/current/frontend/asset_mapper.html
613+
.. _`symfony/ux-twig-component`: https://symfony.com/bundles/ux-twig-component/current/index.html
613614
.. _`W3C guide about SVG icon accessibility`: https://design-system.w3.org/styles/svg-icons.html#svg-accessibility
614615
.. _`Bootstrap Icons`: https://icons.getbootstrap.com/
615616
.. _`Boxicons`: https://boxicons.com/

0 commit comments

Comments
 (0)