Merge pull request #1306 from twobit/master

Add dx and dy attributes for SVG text
This commit is contained in:
Paul O’Shannessy committed 2014-04-03 15:05:44 -07:00
commit 4f6800c2a4
2 files changed
+3 -1

No files matched your search

+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,