Skip to content

Commit

Permalink
Add native view config for experimental_layoutConformance (facebook#4…
Browse files Browse the repository at this point in the history
…4369)

Summary:
Pull Request resolved: facebook#44369

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 c56fdb1 commit 2285005
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
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 2285005

Please sign in to comment.