Comparing version 4.0.3 to 4.0.4
@@ -142,3 +142,3 @@ 'use strict'; | ||
case 'className': | ||
node.className = className(value); | ||
node.setAttribute('class', className(value)); | ||
continue; | ||
@@ -145,0 +145,0 @@ } |
@@ -140,3 +140,3 @@ | ||
case 'className': | ||
node.className = className(value); | ||
node.setAttribute('class', className(value)); | ||
continue; | ||
@@ -143,0 +143,0 @@ } |
{ | ||
"name": "jsx-dom", | ||
"version": "4.0.3", | ||
"version": "4.0.4", | ||
"description": "JSX to document.createElement.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.cjs.js", |
@@ -102,3 +102,3 @@ import { __assign } from 'tslib'; | ||
case 'className': | ||
node.className = className( value ); | ||
node.setAttribute('class', className( value )); | ||
continue; | ||
@@ -105,0 +105,0 @@ } |
33773