UNPKG

react-native

Version:

A framework for building native apps using React

31 lines (29 loc) 1.08 kB
/** * 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<<0371702d0350a6d065094dda16487831>> * * This file was translated from Flow by scripts/js-api/build-types/index.js. * Original file: packages/react-native/Libraries/Components/View/View.js */ import type { ViewProps } from "./ViewPropTypes"; import ViewNativeComponent from "./ViewNativeComponent"; import * as React from "react"; /** * The most fundamental component for building a UI, View is a container that * supports layout with flexbox, style, some touch handling, and accessibility * controls. * * @see https://reactnative.dev/docs/view */ declare function View(props: Omit<ViewProps, keyof { ref?: React.Ref<React.ComponentRef<typeof ViewNativeComponent>>; }> & { ref?: React.Ref<React.ComponentRef<typeof ViewNativeComponent>>; }): React.ReactNode; declare const $$View: typeof View; declare type $$View = typeof $$View; export default $$View;