Move PlatformColorValueTypesIOS comments from .d.ts to .js (#49834)

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

Changelog:
[Internal]

Reviewed By: huntie

Differential Revision: D70615477

fbshipit-source-id: 4f042d05a1c487ace87af07809c70e6a2582d652
This commit is contained in:
Dawid Małecki
2025-03-05 03:30:42 -08:00
committed by Facebook GitHub Bot
parent 290257e76d
commit f5feb73022
@@ -17,6 +17,12 @@ export type DynamicColorIOSTuple = {
highContrastDark?: ColorValue,
};
/**
* Specify color to display depending on the current system appearance settings
*
* @param tuple Colors you want to use for "light mode" and "dark mode"
* @platform ios
*/
export const DynamicColorIOS = (tuple: DynamicColorIOSTuple): ColorValue => {
throw new Error('DynamicColorIOS is not available on this platform.');
};