Class attributes not allowed in JSX code

I'm getting this warning on class attributes in Solid.js / JSX code.

Attribute class is not allowed here

Is this expected, and how do I fix it?

Here's a screenshot:

 

0

请先登录再写评论。