π¦ΊClass names type safety
Last updated
Last updated
2022-2023 PΓ΄le logiciel libre d'Etalab - MIT license
It's like clsx but you can only pass it classes that are from the dsfr.
You can't apply your custom classes using fr.cx(), you'll get type error, but you can combine a regular cx()
or clsx()
function and fr.cx()
. Example: