react-native
Version:
A framework for building native apps using React
25 lines (23 loc) • 912 B
TypeScript
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<479df6ace694badb48798d6f908d4fa0>>
*
* This file was translated from Flow by scripts/build-types/index.js.
* Original file: packages/react-native/Libraries/ReactNative/DisplayMode.js
*/
export declare type DisplayModeType = symbol & {
__DisplayModeType__: string;
};
declare const DisplayMode: {
readonly [$$Key$$: string]: DisplayModeType;
};
export declare function coerceDisplayMode(value: null | undefined | number): DisplayModeType;
/** DisplayMode should be in sync with the method displayModeToInt from
* react/renderer/uimanager/primitives.h. */
declare const $$DisplayMode: typeof DisplayMode;
declare type $$DisplayMode = typeof $$DisplayMode;
export default $$DisplayMode;