This repository has been archived on 2022-03-12. You can view files and clone it, but cannot push or open issues or pull requests.

1 line
2.1 KiB
Plaintext
Raw Normal View History

2021-04-02 02:24:13 +03:00
{"version":3,"file":"SplashScreenConfig.js","sourceRoot":"","sources":["../src/SplashScreenConfig.ts"],"names":[],"mappings":"","sourcesContent":["import { SplashScreenImageResizeModeType, SplashScreenStatusBarStyleType } from './constants';\n\nexport type Color = [number, number, number, number];\n\n/**\n * iOS SplashScreen config.\n */\nexport type IosSplashScreenConfig = {\n backgroundColor: Color;\n\n image?: string;\n imageResizeMode?: SplashScreenImageResizeModeType;\n\n statusBar?: {\n hidden?: boolean;\n style?: SplashScreenStatusBarStyleType;\n };\n\n darkMode?: {\n backgroundColor?: Color;\n image?: string;\n };\n};\n\n/**\n * Android SplashScreen config.\n */\nexport type AndroidSplashScreenConfig = {\n backgroundColor: Color;\n\n image?: string;\n imageResizeMode?: SplashScreenImageResizeModeType;\n\n statusBar?: {\n hidden?: boolean;\n style?: SplashScreenStatusBarStyleType;\n translucent?: boolean;\n backgroundColor?: Color;\n };\n\n darkMode?: {\n backgroundColor?: Color;\n image?: string;\n statusBar?: {\n style?: SplashScreenStatusBarStyleType;\n backgroundColor?: Color;\n };\n };\n};\n\n/**\n * The very same as `IosSplashScreenConfig`, but JSON-friendly (values for each property are JavaScript built-in types).\n */\nexport type IosSplashScreenConfigJSON = {\n backgroundColor: string;\n\n image?: string;\n imageResizeMode?: string;\n\n statusBar?: {\n hidden?: boolean;\n style?: string;\n };\n\n darkMode?: {\n backgroundColor?: string;\n image?: string;\n };\n};\n\n/**\n * The very same as `IosSplashScreenConfig`, but JSON-friendly (values for each property are JavaScript built-in types).\n */\nexport type AndroidSplashScreenConfigJSON = {\n backgroundColor: string;\n\n image?: string;\n imageResizeMode?: string;\n\n statusBar?: {\n hidden?: boolean;\n style?: string;\n translucent?: boolean;\n backgroundColor?: string;\n };\n\n darkMode?: {\n backgroundColor?: string;\n image?: string;\n statusBar?: {\n style?: string;\n backgroundColor?: string;\n };\n };\n};\n"]}