Skip to content

Commit

Permalink
minor #4374 [Doc] html_cva (seb-jean)
Browse files Browse the repository at this point in the history
This PR was merged into the 3.x branch.

Discussion
----------

[Doc] html_cva

Juste rename defaultVariant without "s".

Commits
-------

86b23eb Update html_cva.rst
  • Loading branch information
fabpot committed Oct 4, 2024
2 parents 53441af + 86b23eb commit 62c0282
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/functions/html_cva.rst
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ If no variants match, you can define a default set of classes to apply:
lg: 'rounded-lg',
}
},
defaultVariants={
defaultVariant={
rounded: 'md',
}
) %}
Expand Down Expand Up @@ -187,4 +187,4 @@ This function works best when used with `TwigComponent`_.
.. _`CVA (Class Variant Authority)`: https://cva.style/docs/getting-started/variants
.. _`shadcn/ui`: https://ui.shadcn.com
.. _`tales-from-a-dev/twig-tailwind-extra`: https://github.com/tales-from-a-dev/twig-tailwind-extra
.. _`TwigComponent`: https://symfony.com/bundles/ux-twig-component/current/index.html
.. _`TwigComponent`: https://symfony.com/bundles/ux-twig-component/current/index.html

0 comments on commit 62c0282

Please sign in to comment.