mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-03 07:06:04 +00:00
[ios] fire onLayout
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user