Skip to content

Commit cff4db1

Browse files
committed
Export processColorObject on macOS
1 parent 1ae3fb6 commit cff4db1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/react-native/Libraries/StyleSheet/PlatformColorValueTypes.macos.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,3 +161,9 @@ const _processColorObject = (
161161
}
162162
return color;
163163
};
164+
165+
export const processColorObject: (
166+
color: NativeColorValue,
167+
/* $FlowExpectedError[incompatible-type]
168+
* LocalNativeColorValue is the actual type of the opaque NativeColorValue on iOS platform */
169+
) => ?NativeColorValue = _processColorObject;

0 commit comments

Comments
 (0)