Skip to content

Commit ef14530

Browse files
cortinicofabriziocucci
authored andcommitted
Undo a breaking change on ReactOverflowView (facebook#49229)
Summary: Pull Request resolved: facebook#49229 This interface was converted to Kotlin, but the single method should have been converted to a `val`. People kotlin consumers could call ReactOverflowView.overflow; now they need to call getOverflow(). Changelog: [Internal] [Changed] - Undo a breaking change on ReactOverflowView Reviewed By: NickGerleman Differential Revision: D69250226 fbshipit-source-id: 5c7cca8c83f5c76a9cc1d254f8aa51409150c356
1 parent 8072627 commit ef14530

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactOverflowView.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ public interface ReactOverflowView {
1717
* Gets the overflow state of a view. If set, this should be one of [ViewProps#HIDDEN],
1818
* [ViewProps#VISIBLE] or [ViewProps#SCROLL].
1919
*/
20-
public fun getOverflow(): String?
20+
public val overflow: String?
2121
}

0 commit comments

Comments
 (0)