mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
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.');
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user