mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
2c1fd6f764
Summary: This diff adds the generated view config for UnimplementedNativeView Note: I believe this component was created in JS just for the codegen because it's unused anywhere Reviewed By: cpojer Differential Revision: D15494268 fbshipit-source-id: 8d17465fe59861a299b76565d6edbaf168f45906
28 lines
700 B
JavaScript
28 lines
700 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
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
import type {WithDefault} from '../../Types/CodegenTypes';
|
|
import type {ViewProps} from '../View/ViewPropTypes';
|
|
|
|
import codegenNativeComponent from '../../Utilities/codegenNativeComponent';
|
|
|
|
type NativeProps = $ReadOnly<{|
|
|
...ViewProps,
|
|
name?: ?WithDefault<string, ''>,
|
|
|}>;
|
|
|
|
// NOTE: This compoenent is not implemented in paper
|
|
// Do not include in paper builds
|
|
module.exports = codegenNativeComponent<NativeProps>(
|
|
'./UnimplementedNativeViewNativeViewConfig',
|
|
);
|