Skip to content

Commit

Permalink
Add native view config for experimental_layoutConformance
Browse files Browse the repository at this point in the history
Summary:
experimental_layoutConformance was added in this diff: D47940100

Changelog: [Internal]

Reviewed By: javache

Differential Revision: D56849869
  • Loading branch information
RSNara authored and facebook-github-bot committed May 2, 2024
1 parent 2070d5a commit 9466ad9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/react-native/ReactAndroid/api/ReactAndroid.api
Original file line number Diff line number Diff line change
Expand Up @@ -4145,6 +4145,7 @@ public class com/facebook/react/uimanager/LayoutShadowNode : com/facebook/react/
public fun setGap (Lcom/facebook/react/bridge/Dynamic;)V
public fun setHeight (Lcom/facebook/react/bridge/Dynamic;)V
public fun setJustifyContent (Ljava/lang/String;)V
public fun setLayoutConformance (Ljava/lang/String;)V
public fun setMargins (ILcom/facebook/react/bridge/Dynamic;)V
public fun setMaxHeight (Lcom/facebook/react/bridge/Dynamic;)V
public fun setMaxWidth (Lcom/facebook/react/bridge/Dynamic;)V
Expand Down Expand Up @@ -7935,7 +7936,6 @@ public class com/facebook/react/views/view/ReactViewManager : com/facebook/react
public fun setTVPreferredFocus (Lcom/facebook/react/views/view/ReactViewGroup;Z)V
protected synthetic fun setTransformProperty (Landroid/view/View;Lcom/facebook/react/bridge/ReadableArray;Lcom/facebook/react/bridge/ReadableArray;)V
protected fun setTransformProperty (Lcom/facebook/react/views/view/ReactViewGroup;Lcom/facebook/react/bridge/ReadableArray;Lcom/facebook/react/bridge/ReadableArray;)V
public fun setexperimental_layoutConformance (Lcom/facebook/react/views/view/ReactViewGroup;Ljava/lang/String;)V
}

public class com/facebook/react/views/view/ReactViewManager$$PropsSetter : com/facebook/react/uimanager/ViewManagerPropertyUpdater$ViewManagerSetter {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -901,4 +901,9 @@ public void setShouldNotifyPointerLeave(boolean value) {
public void setShouldNotifyPointerMove(boolean value) {
// Do Nothing: Align with static ViewConfigs
}

@ReactProp(name = "experimental_layoutConformance")
public void setLayoutConformance(String value) {
// Do Nothing: Align with static ViewConfigs
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,6 @@ public void setBorderStyle(ReactViewGroup view, @Nullable String borderStyle) {
view.setBorderStyle(borderStyle);
}

// This is unused by the view manager, and not wired to be sent to Java, but
// must be present for the prop to show up in the view config.
@ReactProp(name = "experimental_layoutConformance")
public void setexperimental_layoutConformance(
ReactViewGroup view, @Nullable String layoutConformance) {}

@ReactProp(name = "hitSlop")
public void setHitSlop(final ReactViewGroup view, Dynamic hitSlop) {
switch (hitSlop.getType()) {
Expand Down

0 comments on commit 9466ad9

Please sign in to comment.