mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
a62490808d
Summary: We will need to use ES6 exports when we switch this to use the codegen'd view configs. I also need to have a named export from this file. Reviewed By: rickhanlonii Differential Revision: D15923789 fbshipit-source-id: 513e27834583b6d021ff06d5d7f116ccdcd27722
25 lines
624 B
JavaScript
25 lines
624 B
JavaScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @format
|
|
* @flow strict-local
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
import type {ViewProps} from './ViewPropTypes';
|
|
|
|
export type Props = ViewProps;
|
|
|
|
/**
|
|
* 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 http://facebook.github.io/react-native/docs/view.html
|
|
*/
|
|
module.exports = require('./ViewNativeComponent').default;
|