mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-20 14:05:09 +00:00
Refactor Symbol on iOS
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user