react-native
Version:
A framework for building native apps using React
31 lines (29 loc) • 1.04 kB
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<<bed02bcf9e474ec9585e39e6a3c9f093>>
*
* This file was translated from Flow by scripts/build-types/index.js.
* Original file: packages/react-native/Libraries/Text/Text.js
*/
import type { TextProps } from "./TextProps";
import { NativeText, NativeVirtualText } from "./TextNativeComponent";
import * as React from "react";
export type { TextProps } from "./TextProps";
type TextForwardRef = React.ComponentRef<typeof NativeText | typeof NativeVirtualText>;
declare const TextImpl: (props: Omit<TextProps, keyof {
ref?: React.Ref<TextForwardRef>;
}> & {
ref?: React.Ref<TextForwardRef>;
}) => React.ReactNode;
/**
* Text is the fundamental component for displaying text.
*
* @see https://reactnative.dev/docs/text
*/
declare const $$Text: typeof TextImpl;
declare type $$Text = typeof $$Text;
export default $$Text;