Make OverrideColorScheme fun interface (#44059)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/44059

Changelog: [Internal]

Reviewed By: christophpurrer

Differential Revision: D56062919

fbshipit-source-id: 3181608ae6be5250831ce2d2f22ab2a424409168
This commit is contained in:
Andrew Datsenko
2024-04-12 09:26:30 -07:00
committed by Facebook GitHub Bot
parent 72a78d674c
commit a666718879
@@ -27,7 +27,7 @@ constructor(
private var colorScheme = colorSchemeForCurrentConfiguration(reactContext)
/** Optional override to the current color scheme */
public interface OverrideColorScheme {
public fun interface OverrideColorScheme {
/**
* Color scheme will use the return value instead of the current system configuration. Available
* scheme: {light, dark}