Skip to content

Commit e343a22

Browse files
committed
Fix touchable opcaity api json
1 parent 5980ef3 commit e343a22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/touchableOpacity/touchableOpacity.api.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"props": [
1111
{"name": "backgroundColor", "type": "string", "description": "Background color for TouchableOpacity"},
1212
{"name": "throttleTime", "type": "number", "description": "Throttle time in MS for onPress callback"},
13-
{"name": "throttleOptions", "type": "{leading, trailing}", "description": "Throttle options"},
13+
{"name": "throttleOptions", "type": "ThrottleOptions", "description": "Throttle options"},
1414
{
1515
"name": "activeBackgroundColor",
1616
"type": "string",
@@ -27,6 +27,6 @@
2727
"description": "Custom value of any type to pass on to TouchableOpacity and receive back in onPress callback"
2828
},
2929
{"name": "style", "type": "ViewStyle", "description": "Custom style"},
30-
{"name": "onPress", "type": "({customValue}) => void", "description": "On press callback"}
30+
{"name": "onPress", "type": "(props) => void", "description": "On press callback"}
3131
]
3232
}

0 commit comments

Comments
 (0)