mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-02 05:26:43 +00:00
Update html_cva.rst
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user