mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-07 00:42:31 +00:00
finish Text props extract refactoring
This commit is contained in:
+2
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user