Update html_cva.rst

This commit is contained in:
seb-jean
2024-10-04 07:32:20 +02:00
committed by GitHub
parent 53441af5ff
commit 86b23eba23
+2 -2
View File
@@ -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',
}
) %}
@@ -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