PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@expo/prebuild-config/build/plugins/icons

Просмотр файла: withAndroidIcons.d.ts

import { ConfigPlugin } from '@expo/config-plugins';
import { ExpoConfig } from '@expo/config-types';
declare type DPIString = 'mdpi' | 'hdpi' | 'xhdpi' | 'xxhdpi' | 'xxxhdpi';
declare type dpiMap = Record<DPIString, {
    folderName: string;
    scale: number;
}>;
export declare const dpiValues: dpiMap;
export declare const ANDROID_RES_PATH = "android/app/src/main/res/";
export declare const withAndroidIcons: ConfigPlugin;
export declare function getIcon(config: ExpoConfig): string | null;
export declare function getAdaptiveIcon(config: ExpoConfig): {
    foregroundImage: string | null;
    backgroundColor: string | null;
    backgroundImage: string | null;
};
/**
 * Resizes the user-provided icon to create a set of legacy icon files in
 * their respective "mipmap" directories for <= Android 7, and creates a set of adaptive
 * icon files for > Android 7 from the adaptive icon files (if provided).
 */
export declare function setIconAsync(projectRoot: string, { icon, backgroundColor, backgroundImage, isAdaptive, }: {
    icon: string | null;
    backgroundColor: string | null;
    backgroundImage: string | null;
    isAdaptive: boolean;
}): Promise<true | null>;
/**
 * Configures adaptive icon files to be used on Android 8 and up. A foreground image must be provided,
 * and will have a transparent background unless:
 * - A backgroundImage is provided, or
 * - A backgroundColor was specified
 */
export declare function configureAdaptiveIconAsync(projectRoot: string, foregroundImage: string, backgroundImage: string | null, isAdaptive: boolean): Promise<void>;
export declare const createAdaptiveIconXmlString: (backgroundImage: string | null) => string;
export {};

Выполнить команду


Для локальной разработки. Не используйте в интернете!