[React Native] Update code comments about layout-only view

This commit is contained in:
Alex Akers
2015-07-14 01:59:28 -07:00
parent 875ab073ea
commit eb06659711
3 changed files with 14 additions and 1 deletions

View File

@@ -44,6 +44,12 @@ var AccessibilityTraits = [
'pageTurn',
];
// <<<<< WARNING >>>>>
// If adding any properties to View that could change the way layout-only status
// works on iOS, make sure to update ReactNativeViewAttributes.js and
// RCTShadowView.m (in the -[RCTShadowView isLayoutOnly] method).
// <<<<< WARNING >>>>>
/**
* The most fundamental component for building UI, `View` is a
* container that supports layout with flexbox, style, some touch handling, and