svg attributes properly cased when assigned by react
Alexander Solovyov committed
Oct 11, 2013 at 15:48 UTC
aa38ffc22d952e404a4ec6e0e59ad447a4a30baa
1 file changed
+5
-1
src/dom/DefaultDOMPropertyConfig.js
+5
-1
@@ -145,7 +145,11 @@ var DefaultDOMPropertyConfig = {
145
strokeLinecap: 'stroke-linecap',
146
strokeWidth: 'stroke-width',
147
stopColor: 'stop-color',
148
- stopOpacity: 'stop-opacity'
148
+ stopOpacity: 'stop-opacity',
149
+ viewBox: 'viewBox',
150
+ spreadMethod: 'spreadMethod',
151
+ gradientUnits: 'gradientUnits',
152
+ gradientTransform: 'gradientTransform'
153
},
154
DOMPropertyNames: {
155
autoCapitalize: 'autocapitalize',