Refactor Symbol on iOS

This commit is contained in:
Horcrux
2017-01-22 17:51:47 +08:00
parent f529f93565
commit 1b04e11ca4
21 changed files with 385 additions and 311 deletions

View File

@@ -33,8 +33,7 @@ const ViewBoxAttributes = {
vbWidth: true,
vbHeight: true,
align: true,
meetOrSlice: true,
name: true
meetOrSlice: true
};
const NodeAttributes = {
@@ -81,6 +80,10 @@ const UseAttributes = merge({
height: true
}, RenderableAttributes);
const SymbolAttributes = merge({
name: true
}, ViewBoxAttributes);
const PathAttributes = merge({
d: true
}, RenderableAttributes);
@@ -185,6 +188,7 @@ export {
LineAttributes,
RectAttributes,
UseAttributes,
SymbolAttributes,
LinearGradientAttributes,
RadialGradientAttributes,
ViewBoxAttributes