finish Text props extract refactoring

This commit is contained in:
Horcrux
2016-09-16 23:59:38 +08:00
parent 74b9917bd3
commit ad196a7071
8 changed files with 153 additions and 48 deletions
+2 -3
View File
@@ -44,7 +44,7 @@ const NodeAttributes = {
responsible: true
};
const RenderableOnlyAttributes = {
const FillAndStrokeAttributes = {
fill: {
diff: arrayDiffer
},
@@ -64,7 +64,7 @@ const RenderableOnlyAttributes = {
strokeMiterlimit: true
};
const RenderableAttributes = merge({}, NodeAttributes, RenderableOnlyAttributes);
const RenderableAttributes = merge({}, NodeAttributes, FillAndStrokeAttributes);
const GroupAttributes = RenderableAttributes;
@@ -172,7 +172,6 @@ export {
LineAttributes,
RectAttributes,
UseAttributes,
RenderableOnlyAttributes,
LinearGradientAttributes,
RadialGradientAttributes,
ViewBoxAttributes