Skip to content

Commit b0458a5

Browse files
authored
Merge pull request #1059 from triggerNZ/add_svg_key_attribute
Add react key to SVG attributes
2 parents 41c4c17 + 22f583d commit b0458a5

File tree

1 file changed

+3
-0
lines changed
  • library/coreGeneric/src/main/scala/japgolly/scalajs/react/vdom

1 file changed

+3
-0
lines changed

library/coreGeneric/src/main/scala/japgolly/scalajs/react/vdom/SvgAttrs.scala

+3
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,9 @@ trait SvgAttrs {
413413

414414
final def kerning = VdomAttr("kerning")
415415

416+
/** React key */
417+
final val key = VdomAttr.Key
418+
416419
final def keySplines = VdomAttr("keySplines")
417420

418421
final def keyTimes = VdomAttr("keyTimes")

0 commit comments

Comments
 (0)