svg attributes properly cased when assigned by react

This commit is contained in:
Alexander Solovyov
2013-10-11 15:48:17 +03:00
parent 6d300527c8
commit aa38ffc22d
+5 -1
View File
@@ -145,7 +145,11 @@ var DefaultDOMPropertyConfig = {
strokeLinecap: 'stroke-linecap',
strokeWidth: 'stroke-width',
stopColor: 'stop-color',
stopOpacity: 'stop-opacity'
stopOpacity: 'stop-opacity',
viewBox: 'viewBox',
spreadMethod: 'spreadMethod',
gradientUnits: 'gradientUnits',
gradientTransform: 'gradientTransform'
},
DOMPropertyNames: {
autoCapitalize: 'autocapitalize',