Skip to content

Commit

Permalink
yoloing at 2024-07-24T10.45
Browse files Browse the repository at this point in the history
  • Loading branch information
byt3h3ad committed Jul 24, 2024
1 parent 5a5c2a7 commit 513dc0b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions css/clsx-in-astro.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Astro has built-in support for `clsx`

`class:list={}` in Astro is powered by [clsx](https://github.com/lukeed/clsx). It takes an array of class values and converts them into a class string.

[docs](https://docs.astro.build/en/reference/directives-reference/#classlist)

0 comments on commit 513dc0b

Please sign in to comment.