Merge pull request #1306 from twobit/master

Add dx and dy attributes for SVG text
This commit is contained in:
Paul O’Shannessy
2014-04-03 15:05:44 -07:00
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ There is also the React-specific attribute `dangerouslySetInnerHTML` ([more here
### SVG Attributes
```
cx cy d fill fx fy gradientTransform gradientUnits offset points r rx ry
cx cy d dx dy fill fx fy gradientTransform gradientUnits offset points r rx ry
spreadMethod stopColor stopOpacity stroke strokeLinecap strokeWidth textAnchor transform
version viewBox x1 x2 x y1 y2 y
```
@@ -139,6 +139,8 @@ var DefaultDOMPropertyConfig = {
cx: MUST_USE_ATTRIBUTE,
cy: MUST_USE_ATTRIBUTE,
d: MUST_USE_ATTRIBUTE,
dx: MUST_USE_ATTRIBUTE,
dy: MUST_USE_ATTRIBUTE,
fill: MUST_USE_ATTRIBUTE,
fx: MUST_USE_ATTRIBUTE,
fy: MUST_USE_ATTRIBUTE,