refactor shape elements add responder system.

refactor shape elements add responder system.
Just iOS.
This commit is contained in:
Horcrux
2016-05-15 00:40:43 +08:00
parent 1f7a908406
commit 8d01e8eccb
65 changed files with 2354 additions and 213 deletions

11
lib/mergeContext.js Normal file
View File

@@ -0,0 +1,11 @@
import _ from 'lodash';
export default function (props, context) {
if (context.isInGroup) {
props = _.defaults({}, props, context, {
isInGroup: null
});
}
return props;
}