mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
004a90b131
Summary: This component is only used in native (there are no JS paths to it). Currently, the schema is being used to generate the native code for this component. Here, we add the codegen types so we still generate the native code when the schemas are removed, but the view config will never be used Reviewed By: cpojer Differential Revision: D15960990 fbshipit-source-id: 08fd0155f603e45785520c49a3ea86e30b276f9c
26 lines
685 B
JavaScript
26 lines
685 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 require this file in paper builds
|
|
export default codegenNativeComponent<NativeProps>('UnimplementedNativeView');
|