Skip to content

Commit

Permalink
Add native view config for collapsableChildren
Browse files Browse the repository at this point in the history
Summary:
collapsableChildren was introduced in D56226241

Changelog: [Internal]

Reviewed By: javache

Differential Revision: D56849868
  • Loading branch information
RSNara authored and facebook-github-bot committed May 2, 2024
1 parent 80a2ddd commit 30ab654
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-native/ReactAndroid/api/ReactAndroid.api
Original file line number Diff line number Diff line change
Expand Up @@ -4134,6 +4134,7 @@ public class com/facebook/react/uimanager/LayoutShadowNode : com/facebook/react/
public fun setAspectRatio (F)V
public fun setBorderWidths (IF)V
public fun setCollapsable (Z)V
public fun setCollapsableChildren (Z)V
public fun setColumnGap (Lcom/facebook/react/bridge/Dynamic;)V
public fun setDisplay (Ljava/lang/String;)V
public fun setFlex (F)V
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,12 @@ public void setMinWidth(Dynamic minWidth) {

boolean mCollapsable;

@ReactProp(name = "collapsableChildren")
public void setCollapsableChildren(boolean collapsableChildren) {
// Do Nothing: Align with static ViewConfigs

}

@ReactProp(name = "collapsable")
public void setCollapsable(boolean collapsable) {
mCollapsable = collapsable;
Expand Down

0 comments on commit 30ab654

Please sign in to comment.