[ios] fire onLayout

This commit is contained in:
Maksym Komarychev
2018-04-13 10:05:07 +03:00
parent f28a343a8d
commit 4fc6f4fd87
10 changed files with 50 additions and 2 deletions
+5
View File
@@ -18,6 +18,10 @@ const touchableProps = {
delayLongPress: PropTypes.number
};
const layoutProps = {
onLayout: PropTypes.func
};
const responderProps = [
...Object.keys(PanResponder.create({}).panHandlers),
"pointerEvents"
@@ -79,6 +83,7 @@ const pathProps = {
...transformProps,
...responderProps,
...touchableProps,
...layoutProps,
...definationProps
};