Skip to content

Commit e062328

Browse files
committed
fix: callout
1 parent 8c5ab15 commit e062328

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/routes/reference/jsx-attributes/classlist.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,8 @@ First, `class` can be set like other attributes. For example:
3333
```
3434

3535
:::note
36-
Note that <code>className</code> was deprecated in Solid 1.4 in favor of {" "}
37-
38-
<code>class</code>. :::
36+
Note that `className` was deprecated in Solid 1.4 in favor of {" "} `class`.
37+
:::
3938

4039
Alternatively, the `classList` pseudo-attribute lets you specify an object, where each key is a class and the value is treated as a boolean representing whether to include that class. For example (matching the last example):
4140

0 commit comments

Comments
 (0)