From 86b23eba2346d9890a91d3477184fb223c9af0bc Mon Sep 17 00:00:00 2001 From: seb-jean Date: Fri, 4 Oct 2024 07:32:20 +0200 Subject: [PATCH] Update html_cva.rst --- doc/functions/html_cva.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/functions/html_cva.rst b/doc/functions/html_cva.rst index 4079581570c..0c19293fb43 100644 --- a/doc/functions/html_cva.rst +++ b/doc/functions/html_cva.rst @@ -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 \ No newline at end of file +.. _`TwigComponent`: https://symfony.com/bundles/ux-twig-component/current/index.html