diff --git a/packages/react-native/Libraries/Components/View/ViewPropTypes.d.ts b/packages/react-native/Libraries/Components/View/ViewPropTypes.d.ts index a1aa196ccbd..eb44b3adea2 100644 --- a/packages/react-native/Libraries/Components/View/ViewPropTypes.d.ts +++ b/packages/react-native/Libraries/Components/View/ViewPropTypes.d.ts @@ -76,20 +76,6 @@ export interface ViewPropsIOS extends TVViewPropsIOS { } export interface ViewPropsAndroid { - /** - * Views that are only used to layout their children or otherwise don't draw anything - * may be automatically removed from the native hierarchy as an optimization. - * Set this property to false to disable this optimization and ensure that this View exists in the native view hierarchy. - */ - collapsable?: boolean | undefined; - - /** - * Setting to false prevents direct children of the view from being removed - * from the native view hierarchy, similar to the effect of setting - * `collapsable={false}` on each child. - */ - collapsableChildren?: boolean | undefined; - /** * Whether this view should render itself (and all of its children) into a single hardware texture on the GPU. * @@ -211,4 +197,18 @@ export interface ViewProps * Used to reference react managed views from native code. */ nativeID?: string | undefined; + + /** + * Views that are only used to layout their children or otherwise don't draw anything + * may be automatically removed from the native hierarchy as an optimization. + * Set this property to false to disable this optimization and ensure that this View exists in the native view hierarchy. + */ + collapsable?: boolean | undefined; + + /** + * Setting to false prevents direct children of the view from being removed + * from the native view hierarchy, similar to the effect of setting + * `collapsable={false}` on each child. + */ + collapsableChildren?: boolean | undefined; }