react-native
Version:
A framework for building native apps using React
32 lines (30 loc) • 1.11 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<<354c6aced185f296556d321e5e1eed48>>
*
* This file was translated from Flow by scripts/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";
export type Props = ViewProps;
declare const View: (props: Omit<ViewProps, keyof {
ref?: React.Ref<React.ComponentRef<typeof ViewNativeComponent>>;
}> & {
ref?: React.Ref<React.ComponentRef<typeof ViewNativeComponent>>;
}) => React.ReactNode;
/**
* 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 const $$View: typeof View;
declare type $$View = typeof $$View;
export default $$View;