mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-20 14:05:09 +00:00
refactor shape elements add responder system.
refactor shape elements add responder system. Just iOS.
This commit is contained in:
11
lib/mergeContext.js
Normal file
11
lib/mergeContext.js
Normal file
@@ -0,0 +1,11 @@
|
||||
import _ from 'lodash';
|
||||
|
||||
export default function (props, context) {
|
||||
if (context.isInGroup) {
|
||||
props = _.defaults({}, props, context, {
|
||||
isInGroup: null
|
||||
});
|
||||
}
|
||||
|
||||
return props;
|
||||
}
|
||||
Reference in New Issue
Block a user