@expo/config-plugins
Version:
A library for Expo config plugins
8 lines (7 loc) • 570 B
TypeScript
import type { ExpoConfig } from '@expo/config-types';
import type { InfoPlist, InterfaceOrientation } from './IosConfig.types';
export declare const withOrientation: import("..").ConfigPlugin;
export declare function getOrientation(config: Pick<ExpoConfig, 'orientation'>): "default" | "portrait" | "landscape" | null;
export declare const PORTRAIT_ORIENTATIONS: InterfaceOrientation[];
export declare const LANDSCAPE_ORIENTATIONS: InterfaceOrientation[];
export declare function setOrientation(config: Pick<ExpoConfig, 'orientation'>, infoPlist: InfoPlist): InfoPlist;