mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Merge pull request #1306 from twobit/master
Add dx and dy attributes for SVG text
This commit is contained in:
@@ -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