Skip to content

Commit

Permalink
Update src/TwigComponent/doc/index.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Simon André <[email protected]>
  • Loading branch information
Kocal and smnandre authored Sep 10, 2024
1 parent aef3567 commit 0fbf101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TwigComponent/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1161,7 +1161,7 @@ Component with Complex Variants (CVA)
.. deprecated:: 2.20

The ``cva`` function was deprecated in TwigComponents 2.20, and will be removed in 3.0.
The function is now called `html_cva`_ and is now part of ``twig/html-extra:^3.12`` package.
The function is now provided by the ``twig/html-extra:^3.12`` package under the name `html_cva`_.

`CVA (Class Variant Authority)`_ is a concept from the JavaScript world and used
by the well-known `shadcn/ui`_.
Expand Down

0 comments on commit 0fbf101

Please sign in to comment.