diff --git a/packages/react-native/Libraries/StyleSheet/PlatformColorValueTypesIOS.js b/packages/react-native/Libraries/StyleSheet/PlatformColorValueTypesIOS.js index adfa2423129..c53f3d47e72 100644 --- a/packages/react-native/Libraries/StyleSheet/PlatformColorValueTypesIOS.js +++ b/packages/react-native/Libraries/StyleSheet/PlatformColorValueTypesIOS.js @@ -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.'); };