diff --git a/lib/src/interfaces/Options.ts b/lib/src/interfaces/Options.ts index 1efc5525071..ecd731fdeba 100644 --- a/lib/src/interfaces/Options.ts +++ b/lib/src/interfaces/Options.ts @@ -1,7 +1,9 @@ // tslint:disable jsdoc-format import { ImageRequireSource, Insets } from 'react-native'; -type Color = string; +// TODO: Import ColorValue instead when upgrading @types/react-native to 0.63+ +// Only assign PlatformColor or DynamicColorIOS as a Color symbol! +declare type Color = string | symbol; type FontFamily = string; type FontWeight = | 'regular'