mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Merge pull request #1306 from twobit/master
Add dx and dy attributes for SVG text
This commit is contained in:
commit
4f6800c2a4
2 files changed
+3
-1
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user