Skip to content

Commit 62c0282

Browse files
committed
minor #4374 [Doc] html_cva (seb-jean)
This PR was merged into the 3.x branch. Discussion ---------- [Doc] html_cva Juste rename defaultVariant without "s". Commits ------- 86b23eb Update html_cva.rst
2 parents 53441af + 86b23eb commit 62c0282

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/functions/html_cva.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ If no variants match, you can define a default set of classes to apply:
146146
lg: 'rounded-lg',
147147
}
148148
},
149-
defaultVariants={
149+
defaultVariant={
150150
rounded: 'md',
151151
}
152152
) %}
@@ -187,4 +187,4 @@ This function works best when used with `TwigComponent`_.
187187
.. _`CVA (Class Variant Authority)`: https://cva.style/docs/getting-started/variants
188188
.. _`shadcn/ui`: https://ui.shadcn.com
189189
.. _`tales-from-a-dev/twig-tailwind-extra`: https://github.com/tales-from-a-dev/twig-tailwind-extra
190-
.. _`TwigComponent`: https://symfony.com/bundles/ux-twig-component/current/index.html
190+
.. _`TwigComponent`: https://symfony.com/bundles/ux-twig-component/current/index.html

0 commit comments

Comments
 (0)