mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-01 06:07:41 +00:00
native prop tranform => trans,fix defs typo
This commit is contained in:
@@ -46,11 +46,11 @@ export default function(props, options = {stroke: true, transform: true, fill: t
|
||||
}
|
||||
|
||||
if (options.transform) {
|
||||
extractedProps.transform = extractTransform(props);
|
||||
extractedProps.trans = extractTransform(props);
|
||||
} else if (props.transform) {
|
||||
// todo: add support for transform prop like this:
|
||||
// {scale: 1.5, translate: '10 10'}
|
||||
extractedProps.transform = props.transform;
|
||||
//extractedProps.transform = props.transform;
|
||||
}
|
||||
|
||||
if (options.responder) {
|
||||
|
||||
Reference in New Issue
Block a user