mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-08 01:00:43 +00:00
native prop trans => matrix
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@ const ViewBoxAttributes = {
|
||||
|
||||
const NodeAttributes = {
|
||||
name: true,
|
||||
trans: {
|
||||
matrix: {
|
||||
diff: arrayDiffer
|
||||
},
|
||||
opacity: true,
|
||||
|
||||
@@ -46,9 +46,9 @@ export default function(props, options = {stroke: true, transform: true, fill: t
|
||||
}
|
||||
|
||||
if (options.transform) {
|
||||
extractedProps.trans = extractTransform(props);
|
||||
extractedProps.matrix = extractTransform(props);
|
||||
} else if (props.transform) {
|
||||
extractedProps.trans = extractTransform(props.transform);
|
||||
extractedProps.matrix = extractTransform(props.transform);
|
||||
}
|
||||
|
||||
if (options.responder) {
|
||||
|
||||
Reference in New Issue
Block a user