react-native
Version:
A framework for building native apps using React
21 lines (19 loc) • 756 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<<9d0f5e5c66a682e0113bb69460175686>>
*
* This file was translated from Flow by scripts/js-api/build-types/index.js.
* Original file: packages/react-native/Libraries/Text/TextAncestorContext.js
*/
import * as React from "react";
declare const TextAncestorContext: React.Context<boolean>;
/**
* Whether the current element is the descendant of a <Text> element.
*/
declare const $$TextAncestorContext: typeof TextAncestorContext;
declare type $$TextAncestorContext = typeof $$TextAncestorContext;
export default $$TextAncestorContext;