Skip to content

Commit 49657de

Browse files
committed
chore: Update comment re:enumerated props
1 parent 01d5b54 commit 49657de

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -628,9 +628,7 @@ function _renderToString(
628628
(name[4] === '-' || HTML_ENUMERATED.test(name)) &&
629629
v != null
630630
) {
631-
// serialize boolean aria-xyz or draggable attribute values as strings
632-
// `draggable` is an enumerated attribute and not Boolean. A value of `true` or `false` is mandatory
633-
// https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/draggable
631+
// serialize boolean aria-xyz or enumerated attribute values as strings
634632
v = v + EMPTY_STR;
635633
} else if (isSvgMode) {
636634
if (SVG_CAMEL_CASE.test(name)) {

0 commit comments

Comments
 (0)