mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-26 07:04:05 +08:00
[React Native] Update code comments about layout-only view
This commit is contained in:
@@ -26,7 +26,11 @@ ReactNativeViewAttributes.UIView = {
|
||||
onMagicTap: true,
|
||||
collapsible: true,
|
||||
|
||||
// If any below are set, view should not be collapsible!
|
||||
// If editing layout-only view attributes, make sure
|
||||
// -[RCTShadowView isLayoutOnly] in RCTShadowView.m
|
||||
// is up-to-date! If any property below is set, the
|
||||
// view should not be collapsible, but this is done
|
||||
// on the native side.
|
||||
onMoveShouldSetResponder: true,
|
||||
onResponderGrant: true,
|
||||
onResponderMove: true,
|
||||
|
||||
Reference in New Issue
Block a user